Skip to main content
100%

Viz_3

✓ Published1🌍 Public
NNikithakatta30
Last edited May 7, 2023
Created on May 7, 2023
Forked from Untitled

This bar chart displays the top five most populated countries using data from a Pollution 2019 dataset, with country names on the y-axis and population counts on the x-axis. The visualization uses React with D3 v5’s `scaleBand` and `scaleLinear` for positioning, and renders SVG rectangles via the `Marks` component. Axes are drawn with custom `AxisBottom` and `AxisLeft` components, while population values are formatted using D3’s `format` function to abbreviate large numbers in billions.

AI-generated description

A program that shows the top 5 most populated countries as a bar chart.

Data: population dataset.

MIT Licensed

Similar vizzes