Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Surendra_Activity_6.12

Public visualization

Surendra_Activity_6.12

0 stars0🌍 Public
Ssanavenkatasurendrareddy@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Activity 6.12

This example shows a horizontal bar chart of the 2010 population for 20 countries, using a linear scale for population values and a band scale for country names. The visualization is built with React and D3 v5, rendering SVG rectangles for each bar. The population data is loaded from a CSV via `d3.csv` and formatted with `d3.format`. Axes are custom components that use `scaleLinear` and `scaleBand`, with tooltips provided by SVG `<title>` elements.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed