Scatter plot with menus
This interactive scatter plot explores correlations between attributes in a WHO global urban air pollution dataset containing PM2.5 and PM10 measurements. Three dropdown menus let users select which columns appear on the x-axis, y-axis, and as the categorical color encoding. The visualization uses d3.scaleLinear for axes, d3.scaleOrdinal with schemeCategory10 for colors, and renders animated SVG circles that transition to new positions when menu selections change. A color legend displays the distinct categories, while axis labels update dynamically.
AI-generated descriptionThis dataset is about the outdoor air condition in different cities around the world. It originally comes from WHO Global Urban Ambient Air Pollution Database (See Gits).The measurement of pollution includes PM2.5 and PM10.
According to the plot we can find the correlations between different attributes.