Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_task_sahith_q1.1

Public visualization

Viewing a saved revision (read-only)

d06ab8856e354824b6391282a066c402

Activity6_task_sahith_q1.1

0 stars0🌍 Public
Mmanisahiths54321@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024

This visualization shows population figures for the year 2000 across ten countries as a horizontal bar chart. The chart renders as an SVG using React, with D3 v5 handling data loading, scales, and axes through `scaleBand`, `scaleLinear`, and `csv`. The `Marks` component draws each bar, while custom `AxisBottom` and `AxisLeft` components manage tick rendering. Data comes from a GitHub-hosted CSV file, and the x-axis uses D3's `format` to abbreviate large population values.

AI-generated description

A demonstration of how to start using D3 version 6.