Skip to main content
100%

Que 1.1

✓ Published1🌍 Public
Ppraneeth.d555@gmail.com
Last edited Oct 22, 2024
Created on Oct 18, 2024
Forked from Activity6_Task 1

This example shows a horizontal bar chart of population data for ten countries in the year 2000, using a React component that renders SVG via D3 v5. The visualization uses `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, with axis components built from D3’s tick and scale methods. Data is loaded asynchronously as CSV from a GitHub repository via `d3.csv`, and each bar’s value is displayed as a tooltip using SVG `<title>` elements. The chart includes formatted tick labels using `d3.format` to abbreviate large numbers.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes