Skip to main content
100%

Activity 8 Q1.1

✓ Published2🌍 Public
Ssamithareddy9@gmail.com
Last edited Apr 10, 2024
Created on Apr 9, 2024
Forked from Activity 8

This example shows a horizontal bar chart comparing the population of 30 countries in the year 2000. It uses React to render SVG elements, with D3 v5’s `scaleBand` and `scaleLinear` defining the chart’s scales. The code loads CSV data from a GitHub gist, formats the population values, and displays them with axes rendered by custom `AxisBottom` and `AxisLeft` components, each with tick marks and labels.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes