Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity7question1

Public visualization

Viewing a saved revision (read-only)

720a95a0774b431788bc54c92ee9b479

Fork of Activity7question1

0 stars1🌍 Public
Vvaishnavi6gan@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Activity7question1

This example shows a horizontal bar chart ranking the populations of ten countries in the year 2000, with bars encoded by a d3.scaleLinear x-axis and a d3.scaleBand y-axis. The chart uses React components (AxisBottom, AxisLeft, Marks) to render SVG elements, with tick marks styled in blue and bars filled in light green. Data is loaded asynchronously via d3.csv from a remote GitHub dataset, and the population values are formatted using d3.format to display billions with a "B" suffix.

AI-generated description

A demonstration of how to start using D3 version 6.