Skip to content

Commit

Permalink
Merge pull request #249 from JosephBARBIERDARNAL/contrib-polar-chart
Browse files Browse the repository at this point in the history
contrib web polar chart
  • Loading branch information
holtzy committed Sep 25, 2023
2 parents 81cfda7 + 5113d6b commit 36c34f0
Show file tree
Hide file tree
Showing 4 changed files with 305 additions and 0 deletions.
279 changes: 279 additions & 0 deletions src/notebooks/web-polar-chart.ipynb

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions src/pages/circular-barplot.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,16 @@ export default function CircularBarplot() {
/>
</Link>
</Col>
<Col xs={12} md={6}>
<Link to={'/web-polar-chart'}>
<ChartImage
imgName={'web-polar-chart'}
caption={
'Nice circular barplot with Matplotlib, showing data about Spanish learners in different countries'
}
/>
</Link>
</Col>
</Row>
</Container>

Expand Down
16 changes: 16 additions & 0 deletions static/data/polar_data.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Country,Students_in_mil,Continent,Natives_in_mil,Students,Natives,Cont_code
United States,8.08,North America,41.76,8080000.0,41760000.0,2
Brazil,5.24,South America,0.46,5240000.0,460000.0,4
France,3.34,Western Europe,0.27,3340000.0,270000.0,6
United Kingdom,2.03,Western Europe,0.13,2029999.9999999998,130000.0,6
Italy,0.9,Western Europe,3.83,900000.0,3830000.0,6
Germany,0.82,Western Europe,2.1,820000.0,2100000.0,6
Ivory Coast,0.57,West Africa,,570000.0,,5
Benin,0.41,West Africa,,410000.0,,5
Senegal,0.36,West Africa,,360000.0,,5
Sweden,0.26,Northern Europe,0.06,260000.0,60000.0,3
Cameroon,0.19,Central Africa,1.03,190000.0,1030000.0,0
Gabon,0.17,Central Africa,,170000.0,,0
Poland,0.15,Eastern Europe,,150000.0,,1
Spain,0.13,Western Europe,43.27,130000.0,43270000.0,6
Equatorial Guinea,0.13,Central Africa,1.08,130000.0,1080000.0,0
Binary file added static/graph/web-polar-chart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 36c34f0

Please sign in to comment.