Skip to content

Commit 197ec37

Browse files
committed
Plotly
1 parent 9cae80f commit 197ec37

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3351,6 +3351,7 @@ Plotly
33513351
<div id="2a950764-39fc-416d-97fe-0a6226a3095f" class="plotly-graph-div" style="height:420px; width:100%;"></div>
33523352

33533353
```python
3354+
# $ pip3 install pandas plotly
33543355
import pandas as pd
33553356
import plotly.express
33563357

@@ -3373,6 +3374,7 @@ plotly.express.line(df, x='Date', y='Total Deaths per Million', color='Continent
33733374
<div id="e23ccacc-a456-478b-b467-7282a2165921" class="plotly-graph-div" style="height:400px; width:100%;"></div>
33743375

33753376
```python
3377+
# $ pip3 install pandas plotly
33763378
import pandas, datetime
33773379
import plotly.graph_objects as go
33783380

index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2840,7 +2840,8 @@
28402840
</code></pre></div>
28412841

28422842

2843-
<div><h2 id="plotly"><a href="#plotly" name="plotly">#</a>Plotly</h2><div><h3 id="coviddeathsbycontinent">Covid Deaths by Continent</h3><p></p><div id="2a950764-39fc-416d-97fe-0a6226a3095f" class="plotly-graph-div" style="height:420px; width:100%;"></div><pre><code class="python language-python hljs"><span class="hljs-keyword">import</span> pandas <span class="hljs-keyword">as</span> pd
2843+
<div><h2 id="plotly"><a href="#plotly" name="plotly">#</a>Plotly</h2><div><h3 id="coviddeathsbycontinent">Covid Deaths by Continent</h3><p></p><div id="2a950764-39fc-416d-97fe-0a6226a3095f" class="plotly-graph-div" style="height:420px; width:100%;"></div><pre><code class="python language-python hljs"><span class="hljs-comment"># $ pip3 install pandas plotly</span>
2844+
<span class="hljs-keyword">import</span> pandas <span class="hljs-keyword">as</span> pd
28442845
<span class="hljs-keyword">import</span> plotly.express
28452846

28462847
covid = pd.read_csv(<span class="hljs-string">'https://covid.ourworldindata.org/data/owid-covid-data.csv'</span>,
@@ -2859,7 +2860,8 @@
28592860

28602861

28612862

2862-
<div><h3 id="confirmedcovidcasesdowjonesgoldandbitcoinprice">Confirmed Covid Cases, Dow Jones, Gold, and Bitcoin Price</h3><p></p><div id="e23ccacc-a456-478b-b467-7282a2165921" class="plotly-graph-div" style="height:400px; width:100%;"></div><pre><code class="python language-python hljs"><span class="hljs-keyword">import</span> pandas, datetime
2863+
<div><h3 id="confirmedcovidcasesdowjonesgoldandbitcoinprice">Confirmed Covid Cases, Dow Jones, Gold, and Bitcoin Price</h3><p></p><div id="e23ccacc-a456-478b-b467-7282a2165921" class="plotly-graph-div" style="height:400px; width:100%;"></div><pre><code class="python language-python hljs"><span class="hljs-comment"># $ pip3 install pandas plotly</span>
2864+
<span class="hljs-keyword">import</span> pandas, datetime
28632865
<span class="hljs-keyword">import</span> plotly.graph_objects <span class="hljs-keyword">as</span> go
28642866

28652867
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">main</span><span class="hljs-params">()</span>:</span>

0 commit comments

Comments
 (0)