Scatter plot with menus
This interactive scatter plot explores correlations among attributes in the WHO Global Urban Ambient Air Pollution Database. Users select x-axis, y-axis, and color dimensions from dropdown menus, with points colored by a categorical scale. The visualization uses d3.scaleLinear, d3.axisBottom, d3.axisLeft, and d3.scaleOrdinal, updating smoothly via transition.attr. Points animate from the center to their positions over one second. SVG rendering with opacity 0.3 dots displays city-level PM2.5 and PM10 measurements and other air quality indicators.
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.