Making a Bar Chart
✓ Published1🌍 Public
This bar chart displays the usage share of the top 23 programming languages, based on July 2019 data from PYPL, with shares scaled to represent votes out of 1000. The code uses D3 v5’s `scaleLinear` for the horizontal value axis and `scaleBand` for the vertical categorical axis, rendering bars as SVG rectangles. It loads data from `data.csv` via `d3.csv`, converts the share values to numeric, and appends axes with `axisLeft` and `axisBottom`. The chart emphasizes a straightforward, readable comparison of language popularity.
AI-generated descriptionThis bar chart shows population of the usage share of the top 23 programming languages out of 1000 voters. The data comes from the July 2019 estimate in PYPL PopularitY of Programming Languages.
MIT Licensed