🌍 Public
Viewing a saved revision (read-only)
6cea137c365842a8821fc6ac9e3e8f99
ICE-6 DV
This example displays a horizontal bar chart of Indian state populations from a local CSV file, using SVG rendering with D3 v7. It shows population values per state, with each bar’s length encoding the data. The code employs `d3.csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the visualization. The bars are styled black via CSS, and the chart includes margins and axes, with the data loaded asynchronously and multiplied by 1000.
AI-generated description