Skip to main content
100%

Activity 6 task 1

✓ Published0🌍 Public
Nnalinreddy96@gmail.com
Last edited Apr 5, 2025
Created on Apr 4, 2025
Forked from HTML Starter

This interactive bar chart visualizes the 2010 population estimates for 20 countries, using a horizontal layout with a logarithmic-style axis formatting that converts values to billions. The visualization is built with React and D3 v5, where the `scaleBand` and `scaleLinear` functions handle the country and population scales respectively. Data is loaded asynchronously from a remote CSV file using `d3.csv`, and the chart includes custom `AxisBottom` and `AxisLeft` components that render ticks and labels. Each bar displays a tooltip with the formatted population value, while the chart employs a green color scheme and the Poppins font family.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes