Giter Site home page Giter Site logo

datasets's Introduction

Plotly Sample Datasets

Dataset name Best for Origin Chart example Download Open in Plotly
Walmart store openings Maps Unknown Python Download Open
2010 alchohol consumption by country Maps Unknown JavaScript Download Open
2011 February AA flight paths Maps Unknown Python Download Open
2011 February US airport traffic Maps Unknown JavaScript Download Open
2011 US agriculture exports Maps Unknown R Download Open
2014 Apple stock Maps Unknown Python Download Open
2015 Shooting Incidents Maps Unknown R Download Open
2014 ebola Maps Unknown Python Download Open
2014 US cities population Maps Unknown Python Download Open
2014 US states population Maps Unknown Python Download Open
2014 world GDP Maps Unknown R Download Open
2015 precipitation Maps Unknown Python Download Open
Alpha shapes Alpha Shapes Unknown Python Download Open
Grouped bar charts with Excel Basic Unknown Excel Download Open
Bubble charts with Excel Basic Unknown Excel Download Open
Three Y axes with Excel Multiple Axes Unknown Excel Download Open
Dot plot with Excel Multiple Axes Unknown Excel Download Open
Gapminder data Streaming Jenny Bryan Python Download Open
Globe contours Maps Unknown Python Download Open
Inset plot Multiple Axes Unknown Excel Download Open
Text scatter charts Basic Unknown Excel Download Open
LaTeX typesetting Basic Unknown Excel Download Open
NYC Uber rides Maps Unknown R Download N.A.
Online dating Multiple Axes Unknown Excel Download Open
OKCupid compatibility by religion Basic Unknown Excel Download Open
Pareto chart Basic Unknown Excel Download Open
School earnings Dumbbell Plots Unknown R Download Open
Shaded regions Basic Unknown Excel Download Open
Spectral Ribbon Plots Unknown Python Download Open
Photon density subplot Multiple Axes Unknown Excel Download Open
Climate change subplot Multiple Axes Unknown Excel Download Open
Time series with error bars Statistical Unknown Excel Download Open
Time series dataframe Statistical Unknown Pandas Download Open
Volcano Maps Unknown Pandas Download Open
Wind rose Maps Unknown Python Download Open
Wind speed Statistical Unknown Pandas Download Open
Prostate cancer Clustergram Gene Expression Omnibus Dash Bio Download NA

datasets's People

Contributors

airballclaytoncalvin avatar alexshoe avatar bcdunbar avatar bennollweather avatar bobidou23 avatar canerirfanoglu avatar charmingdata avatar chendaniely avatar chriddyp avatar cldougl avatar coding-with-adam avatar dikshagabha avatar emmanuelle avatar emmeb avatar etpinard avatar jackparmer avatar kully avatar liamconnors avatar mahdis-z avatar michaelbabyn avatar mkcor avatar nicolaskruchten avatar olayway avatar pravj avatar priyatharsan avatar rmdk avatar royr2 avatar smallstepman avatar tarzzz avatar yankev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

datasets's Issues

License mismatch (LICENSE vs README)

Thanks for the repo! Novel datasets are always hard to find.

The LICENSE file is "MIT" and the README.md says "GPL-3". I'm also not sure if datasets fall under a software license, but rather a creative commons one instead.

But depending on the source, the license will be different. Not sure if it makes sense to have one license for all the datasets.

Dash & XLwings. Attempting to pre-load Excel before Dash callback to save load time.

Windows 10 Enterprise for local. Windows Server 2022 Standard for the server

3.10 Python, Microsoft 365 Apps for enterprise, 0.28.7 xlwings

I have a web interface project that is using a connection between XLwings and Dash. The Excel file is large and takes about 15 seconds to load, while the calc only takes 5 seconds. Since it is setup to run over the web, each client will have their own instance of Excel. XLwings has a way to handle this.
Currently the setup is that once the user enters their setup and clicks submit, only then does the connection start.
If this was normal python, I could just start the connection earlier. However, with Dash the only connection between the layout, and the function definition is the Dash callback.
The goal is to load the Excel file as soon as the page is loaded, while that is happening the user would enter their parameters, the time that takes to load would be saved and the result return time would be shortened by that time.
*
I would like to use a chained callback. The first callback would load on page load with the xlWings connection. 'prevent_initial_call' would be false.
The final callback I have setup the 'prevent_initial_call' to True because I don't want this to run until they hit submit.
*
If I setup the connection as a variable or function, it doesn't look like you can pass these through the callback in anyway.
Project requirements are that the Excel and its VBA not be converted to Python/Dash.
Possible to launch one, or a few, Excels' on launch, and have XLwings grab the PID somehow? Would another Excel extension handle this? I know we're not supposed to use 'Global' variables, but that might fit this particular need.

Above this code part is the layout setup for Dash

@callback(
     #many Output and Inputs. Removed most for clarity.
     Output(component_id='table', component_property='data'),
     Input(component_id='yearSlider', component_property='value'),
)
def finalFxn(
#many parameters. Removed most for clarity.
parameter1,
parameter2
):
   with xw.App(visible=True) as app:
        wb = app.books.open(r"C:\Users\mike\Downloads\modified3-31.xlsm")
#logic
# excel cells = parameters from web
#logic
# parameters to web = excel 
return results, graph, etc.

Make plotly/datasets accessible over web to help Community

๐Ÿ‘‹ Hi Adam,
I came across your plotly/datasets repository and I must say, I am thoroughly impressed by the amount of work you have put in to gather these datasets for the community.

However, I noticed that it can be difficult to navigate through them. A website with a user-friendly web interface that showcases all of these datasets would be a great benefit to the community.

I would love to contribute by creating such a platform, similar to https://omkar.cloud/ (for free of course).
If you are interested, we can work together to make it easier for thousands of people to access the valuable datasets you have collected.

Let me know if you are interested in this collaboration.
Thanks,
Chetan Jain

Connecticut issue

Connecticut is changing its geographic boundaries, and the relative information needs to be updated.

geojson-counties-fips..json has state-sized holes in it

from urllib.request import urlopen
import json
import requests
import os
import pandas as pd
import plotly.express as px

with urlopen('https://raw.githubusercontent.com/plotly/datasets/master/geojson-counties-fips.json') as response:
    counties = json.load(response)

tsfile = 'time_series_covid19_confirmed_US.csv'
tsurl = 'https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/' + tsfile

if not os.path.exists(tsfile):
    req = requests.get(tsurl)
    with open(tsfile, 'wb') as f:
        f.write(req.content)
ts = pd.read_csv(tsfile)

ts.dropna(inplace=True)
ts = ts[ts['FIPS'] < 80000].copy(deep=True)

ts_short = ts[['FIPS', '5/9/20', '5/10/20']].copy(deep=True)
ts_short['delta'] = ts_short['5/10/20'] - ts_short['5/9/20']
ts_short = ts_short[ts_short['delta'] >= 0].copy(deep=True)
dmin = ts_short['5/10/20'].min()
dmax = ts_short['5/10/20'].max()

fig = px.choropleth(ts_short, geojson=counties, locations='FIPS', color='5/10/20',
                           color_continuous_scale="Viridis",
                           range_color=(dmin, dmax),
                           scope="usa"
                          )

fig.update_layout(margin={"r":0,"t":0,"l":0,"b":0})

fig.show()

This is rendered with holes:

map with holes

But the same data with create_choropleth() works fine:

import plotly.figure_factory as pff
fig2 = pff.create_choropleth(fips=ts_short['FIPS'], values=ts_short['5/10/20'])
fig2.show()

good map

I would prefer to use px.choropleth() because it seems easier to customize, but this bug completely breaks it.

Plotly 4.6.0
Python 3.7.7
Jupyter notebook
Anaconda
Windows

License for Datasets

Problem: If I want to use, correct, change or build upon these datasets, I don't knonw if I'm allowed to.

Solution: Please provide a License like odpl or โ€“ to prevent further questions โ€“ a statement that usual copyright applies.

Some Alaska FIPS data missing

Guys,

love your work. really.

https://raw.githubusercontent.com/plotly/datasets/master/geojson-counties-fips.json is missing some Alaska details. Thinking it might be easier for you to update it than for me to as I have no idea where to get the geometry info and assume you have access to this via some database parsing you have already set up.

Ref my question here: https://community.plotly.com/t/alaska-by-fips-not-appearing/55846

There are about 20 FIPS for which there is no geodata in AK. Also a couple in DC.

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.