Skip to main content
100%

lohiact6_Task1.2

✓ Published0🌍 Public
LLohitha Konidena
Last edited Apr 5, 2025
Created on Apr 3, 2025
Forked from Hello VizHub

This bar chart displays the 2010 population of 20 countries, using light green horizontal bars arranged on a categorical scale. The visualization uses D3 v7 to load CSV data, create linear and band scales, and render SVG rectangles via the `Marks` helper. The x-axis formats population values in billions and millions using `d3.axisBottom`, while the y-axis lists country names with `d3.axisLeft`. Both axes include custom labels, and the chart is rendered inside a fixed 900×500 SVG with margins defined in the main script.

AI-generated description
MIT Licensed

Similar vizzes