Skip to main content
100%

activity6_Task1

✓ Published0🌍 Public
Sshivasaiamaravadi@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This bar chart displays the population of 20 countries in 2010, with countries on the y-axis and population values on the x-axis. The visualization uses React to render SVG elements, with D3 v5 providing scales, margins, and tick formatting via `scaleBand`, `scaleLinear`, and `format`. Data is loaded as CSV from a GitHub repository and converted to numeric population values. Axes and marks are built as React components, with bars colored green and a hover tooltip showing the formatted population value.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes