🌍 Public
Viewing a saved revision (read-only)
ecd76c943cd943d98585740ffb82eecb
Simple bar chart
A horizontal bar chart displays population figures for ten countries, with values divided by 1000 and sorted in descending order from China to Mexico. The visualization uses D3 v6 (d3.csv, d3.scaleLinear, d3.scaleBand, d3.axisLeft, d3.axisBottom) to render SVG rectangles with a red fill. The chart includes a left categorical axis for country names and a bottom quantitative axis for population. Data comes from a local CSV file, loaded asynchronously and processed before rendering.
AI-generated description