C4gt demo 2
✓ Published0🌍 Public
This interactive scatter plot displays district-level data across Indian states, allowing users to compare monthly rainfall values against yearly averages. Built with React and D3 v5, the visualization renders SVG circles through reusable AxisBottom, AxisLeft, and Marks components, with x and y scales created using scaleLinear. Users select attributes via react-dropdown menus, while D3’s csv loader fetches data from a GitHub gist, converting string values to numbers. Hovering reveals formatted values through SVG title elements, with a Polypoins-styled interface and compact number formatting for axis labels.
AI-generated descriptionMIT Licensed