Skip to main content
100%

activity6_Task1

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

This visualization displays a horizontal bar chart comparing the populations of ten countries for the year 2000, sourced from a CSV file loaded via d3.csv. It uses React with d3.v5, rendering SVG bars with d3.scaleBand for the y-axis and d3.scaleLinear for the x-axis. A custom d3.format with the '.2s' specifier converts values to billions, and each bar includes an SVG title element for tooltips. Axes are built with tick components that generate lines and text labels.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes