Skip to main content
100%

Activity8_Tutorial

✓ Published0🌍 Public
Aanusharamana0@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Activity 7

This interactive bar chart visualizes the population of 30 countries for 2020, as loaded from a CSV file. Built with React and D3 version 5, the visualization uses an SVG canvas and employs `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. The code defines separate components for the axes and data marks, using D3's `format` function to generate tick labels and highlighting each bar with a tooltip on hover.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes