Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question1.1

Public visualization

Viewing a saved revision (read-only)

1259b8bd81d4426381b7154f1e26f406

Activity6_Question1.1

0 stars0🌍 Public
Ggreeshmareddy135@gmail.com
Last edited Apr 6, 2024
Created on Apr 6, 2024
Forked from Hello VizHub

This bar chart displays the population of ten countries in the year 2000, with bar lengths proportional to population values and country names listed along the vertical axis. The visualization uses React components with D3 v5’s `scaleBand` and `scaleLinear` for positioning, `csv` for data loading from a GitHub-hosted CSV, and `format` for abbreviating tick labels (e.g., replacing “G” with “B”). SVG rectangles render the bars, and each bar includes a native `<title>` tooltip showing the formatted population value. The axes are drawn with custom components, and the chart is framed by margins with a labeled x-axis.

AI-generated description

A demonstration of how to start using D3 version 6.