Skip to main content
100%

ICE-6

✓ Published0🌍 Public
AAAL FORHAD
Last edited Mar 7, 2022
Created on Mar 1, 2022

This visualization presents a horizontal bar chart of the top 10 US states by GDP, with the state flag displayed beside each bar. The React component uses hooks to load CSV data via d3.csv and scales it with d3.scaleBand and d3.scaleLinear, rendering SVG elements. State flags are fetched from an external GitHub repository and inserted as SVG images, while gridlines and axis ticks are generated from xScale.ticks.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes