Skip to main content
100%

Activity6 Task1

✓ Published0🌍 Public
Ppslharika@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024

This example displays a horizontal bar chart of 2020 population data for 30 countries, with bars colored light green and a blue axis line. It renders as a React application using D3 v5 to scale and format the population values (e.g., converting gigabytes to billions in tick labels). Data is loaded from a remote CSV file, and the chart is drawn using SVG rectangles. The code explicitly uses `d3.scaleBand`, `d3.scaleLinear`, and `d3.csv` to process and visualize the dataset.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes