Skip to main content
100%

practice1

✓ Published1🌍 Public
Hhossaphul
Last edited Mar 9, 2023
Created on Mar 9, 2023
Forked from practice

This bar chart visualizes population data for ten countries, comparing values from China to Mexico using horizontal bars. The chart renders as an SVG graphic, with the countries listed along the y-axis and population counts on the x-axis. Built with D3 v5, it uses `scaleLinear` and `scaleBand` to map the data, while `axisLeft` and `axisBottom` generate the axes. The `csv` function loads the data from `data.csv`, and steelblue rectangles represent each country’s population.

AI-generated description
MIT Licensed

Similar vizzes