Skip to main content
100%

Jaynica Nunna

✓ Published1🌍 Public
Nnunnajaynica@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

A horizontal bar chart displays the populations of ten countries for the year 2000, with the data loaded from a CSV file on GitHub. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, rendering bars as SVG rectangles. Population values are formatted using `format('.2s')` to display in billions, and each bar includes a tooltip via a native SVG `<title>` element. The chart includes styled axis ticks and labels, with the x-axis labeled "POPULATION-2020".

AI-generated description
MIT Licensed

Similar vizzes