Skip to main content
100%

Activity8-Task1

✓ Published0🌍 Public
Ssirichandana017@gmail.com
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from HTML Starter

This horizontal bar chart displays the population of ten countries in the year 2000, using a green bar for each nation with a tooltip showing the exact value. The visualization is built with React and D3 v5, employing a `scaleBand` for the y-axis and `scaleLinear` for the x-axis, with SVG rendering for all marks. Population data is loaded from a CSV file and formatted using D3’s `format` function, converting values from millions to billions with a custom tick label. Axis components are custom React functions that generate tick marks and labels.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes