Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Task 2

Public visualization

Activity 6_Task 2

0 stars1🌍 Public
HHarshita Vairagade
Last edited Apr 13, 2024
Created on Apr 13, 2024

This example displays the population of 20 countries as a horizontal bar chart, with green bars and blue tick marks on a white background. The horizontal axis is labeled "POPULATION-2020" and uses a formatted scale that abbreviates large numbers. It is built with React and D3 v5, using `scaleBand`, `scaleLinear`, `max`, `format`, and `csv` to load and process the data from a GitHub-hosted CSV file. The visualization is rendered as an SVG, with axes and marks defined as React components.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed