Scatter Plot for Density(per Km.) in India
This scatter plot displays population density per square kilometer across Indian states and union territories, using 2012 data from the United Nations Population Prospect 2017. The visualization maps states along the y-axis and density values on the x-axis, with each circle representing a state’s density. Built with D3 v5, the code uses `scaleLinear` for the x-axis, `scalePoint` for the y-axis, and `axisBottom` and `axisLeft` for gridlines and labels. The SVG rendering applies a logarithmic-style tick format via `format('.3s')`, with circles colored orange against a light blue background.
AI-generated descriptionYifu's simple bar chart
I created the visualization following this tutorial: https://www.youtube.com/watchv=_8V5o2UHG0E&t=1220s
Data source: Data source is United Nations Population Prospect 2017
Dec. 24, 2019