Skip to main content
100%

Activity6_Q1.2

✓ Published0🌍 Public
JJhansi Balla
Last edited Oct 24, 2024
Created on Oct 24, 2024
Forked from HTML Starter

This example displays a horizontal bar chart comparing the 2010 population of 20 countries, with each bar’s length proportional to population and a tooltip showing the formatted value. The visualization is rendered as an SVG using React and D3 v5, with `scaleBand` for the y-axis and `scaleLinear` for the x-axis. The data is loaded via `d3.csv` from a GitHub gist, and axis ticks are formatted using D3’s `format`.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes