Skip to main content
100%

Making bar chat

✓ Published1🌍 Public
AAkash
Last edited Mar 22, 2022
Created on Mar 22, 2022

This bar chart displays population figures for ten countries and political unions, using horizontal bars to compare values from China to Russia. The visualization relies on D3 v7’s `scaleLinear` and `scaleBand` to map population counts and country names, while `axisLeft` and `axisBottom` generate the axes. Data is loaded from a CSV file via `d3.csv`, and the SVG rendering applies a steelblue fill to each rectangle bar.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes