Skip to main content
100%

Activity-6 Task_1

✓ Published0🌍 Public
Aadityatrip9899@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity 7

This visualization presents a horizontal bar chart depicting the population of ten countries in the year 2000. The chart uses a green fill for the bars, with blue axis lines and gray tick labels. The data is loaded from a remote CSV file using d3.csv and parsed with a custom row function that multiplies the population value by 1000. The chart is rendered using React, with D3 v5 scales (`scaleLinear` and `scaleBand`) mapping the data to SVG rectangles, and the axes are drawn with `d3.axisBottom` and `d3.axisLeft` calls on a `<g>` element.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes