Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Making A Bar Chart

Public visualization

Viewing a saved revision (read-only)

0f65e4af6d824ebca78fa995e70d3dc3

Fork of Making A Bar Chart

0 stars0🌍 Public
NNyashaBradleymhepo
Last edited Aug 3, 2023
Created on Aug 3, 2023
Forked from Making A Bar Chart

This bar chart displays population estimates for ten countries, with population values read from a CSV file and converted from thousands to the raw count. The visualization uses D3 v7's `scaleLinear` and `scaleBand` to map population to bar width and country names to vertical bands, respectively, rendering the result as SVG. Axes are generated with `axisBottom` and `axisLeft`. The bars themselves are styled with a steelblue fill via CSS, and the layout applies fixed margins to position the chart within the SVG canvas.

AI-generated description