Skip to main content
100%

Bar Chart Starter

✓ Published1🌍 Public
JJose Manuel Beas
Last edited Jan 19, 2020
Created on Jan 19, 2020
Forked from D3 Starter

This bar chart displays population counts for ten countries, ranging from China to Mexico. It uses D3 v5 with SVG rendering, importing specific modules like `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the visualization. The `csv` function loads data from data.csv, which is then parsed and scaled. Horizontal bars are appended as SVG rect elements, with the y-axis listing country names and the x-axis representing population values.

AI-generated description

Aprendiendo D3

MIT Licensed

Similar vizzes