चित्र:Fidget spinner search popularity 7d rolling mean.svg

पृष्ठ सामग्री अन्य भाषाहरूमा समर्थित छैन।
यो विकिमीडिया कमन्सको चित्र हो
विकिपिडिया, एक स्वतन्त्र विश्वकोशबाट

मूल फाइल(SVG फाइल,साधारण ५४० × ३६० पिक्सेलहरु, फाइल आकार: २५ किलोबाइटहरू)

सारांश

वर्णन
English: The 7 day rolling mean Google Search popularity of fidget spinners in early 2017.
Íslenska: 7 daga rúllandi meðaltal vinsælda „fidget spinnara” á Google leitarvélinni snemma árið 2017.
Dansk: Udviklingen i Google Searches på fidget spinners i begyndelsen af 2017.
Հայերեն: Սպինների որոնման արդյունքները Google-ում 2017 թվականի սկզբին.
Русский: Популярность поиска спиннеров в Google в начале 2017 года.
Українська: Популярність пошуку спіннерів в Google на початку 2017 року.
मिति
स्रोत मेरो आफ्नै कार्य
लेखक Árni Dagur
SVG genesis
InfoField
 
The source code of this SVG is invalid due to an error.
 
This W3C-invalid plot was created with Matplotlib.
Source code
InfoField

Python code

import matplotlib.pyplot as plt
import matplotlib.dates as dates
from pytrends.request import TrendReq

plt.rcdefaults()
plt.rcParams['figure.figsize'] = 6, 4
grid_alpha = 0.15
line_width = 1.5

username = "google username"
password = "google password"
pytrend = TrendReq(username, password, hl='en-US', tz=360, custom_useragent=None)

keyword=['fidget spinner+fidget spinners']
start_date = "2017-01-15"
end_date = "2017-06-05"
window_size = 7

#Building dataframe
pytrend.build_payload(kw_list=keyword, cat=0, timeframe='{} {}'.format(start_date, end_date))
df = pytrend.interest_over_time()
df = df.rolling(window=window_size,center=False).mean().dropna()
df[keyword] = 100*df[keyword]/df[keyword].max()

#Plotting dataframe
fig, ax = plt.subplots()
print('start_date:{} end_date:{} window_size:{}'.format(start_date, end_date, window_size))
ax.plot(df, linewidth=line_width)

ax.grid(linestyle='-', linewidth=1, alpha=grid_alpha)
ax.xaxis_date()
ax.xaxis.set_major_formatter(dates.DateFormatter('%b %d'))
fig.autofmt_xdate()
fig.tight_layout()

#Saving visualisation
fig.savefig('fidget_spinner_search_popularity_7d_rolling_mean.svg')

Feel free to overwrite this file with improvements.

अनुज्ञा प्राप्त गर्दै

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

जनाउँछ

some value

author name string अङ्ग्रेजी: Árni Dagur
Wikimedia username अङ्ग्रेजी: ArniDagur

copyright status अङ्ग्रेजी

copyright license अङ्ग्रेजी

Creative Commons CC0 License अङ्ग्रेजी

२६ मे 2017

source of file अङ्ग्रेजी

original creation by uploader अङ्ग्रेजी

फाइल इतिहास

मिति/समय मा क्लिक गरेर त्यससमयमा यो फाइल कस्तो थियो भनेर हेर्न सकिन्छ ।

मिति/समयछोटो चित्रआकारहरूप्रयोगकर्ताटिप्पणी
हालको०५:१८, ५ जुलाई २०१७छोटो चित्र ०५:१८, ५ जुलाई २०१७ संस्करणको रुपमा५४०×३६० (२५ किलोबाइटहरू)ArniDagurupdated file with more data, increased grid alpha
००:४४, १५ जुन २०१७छोटो चित्र ००:४४, १५ जुन २०१७ संस्करणको रुपमा५४०×३६० (२७ किलोबाइटहरू)ArniDagurFile upload bug uploading old file?
००:३५, १४ जुन २०१७छोटो चित्र ००:३५, १४ जुन २०१७ संस्करणको रुपमा५४०×३६० (२७ किलोबाइटहरू)ArniDagurfile upload bug?
००:३३, १४ जुन २०१७छोटो चित्र ००:३३, १४ जुन २०१७ संस्करणको रुपमा५४०×३६० (२७ किलोबाइटहरू)ArniDaguradded grid, added more data
०२:४७, २७ मे २०१७छोटो चित्र ०२:४७, २७ मे २०१७ संस्करणको रुपमा५४०×३६० (२७ किलोबाइटहरू)ArniDagurUser created page with UploadWizard

यो फाइलसँग कुनै पनि पृष्ठ जोडिएको छैन।

विश्वव्यापी फाइल प्रयोग

निम्न अन्य विकिहरूमा यस फाइलको प्रयोग:

मेटाडाटा