Skip to main content
100%

Fork of D3 Starter

✓ Published0🌍 Public
Bbalaaswitha@gmail.com
Last edited Oct 20, 2025
Created on Oct 19, 2025
Forked from D3 Starter

This example displays a bar chart comparing the areas of ten different geometric shapes, such as circles, triangles, and hexagons. The bars are rendered as SVG rectangles with rounded corners and a blue gradient fill, and each shape’s name appears below its corresponding bar on the x-axis. The data is loaded via `d3.csv` from a remote Gist, and the chart uses `d3.scaleBand` for the categorical x-axis and `d3.scaleLinear` for the y-axis. The React application maps the parsed data to the SVG elements, with y-axis tick labels generated manually. Light horizontal gridlines are also included via `d3.axisLeft`.

AI-generated description
MIT Licensed

Similar vizzes