Skip to main content
100%

D3 Scatterplot India

✓ Published0🌍 Public
Aajoua
Last edited Feb 6, 2023
Created on Feb 6, 2023
Forked from D3 Scatterplot

This scatterplot visualizes the relationship between fruit and vegetable prices across Indian states, using data from the All India Index February 2016 dataset. Each circle represents a state, with its position determined by the two price indices. The visualization uses d3.csv to load the data, d3.scaleLinear with d3.extent to map values to screen coordinates, and d3.axisLeft and d3.axisBottom for the axes. Hovering over any circle reveals the exact fruit and vegetable values via a d3-created SVG title element.

AI-generated description
MIT Licensed

Similar vizzes