Skip to main content
100%

ICE_7-Assignment-7_ scatter plot

✓ Published1🌍 Public
Ssowmyakancharla01@gmail.com
Last edited Apr 2, 2025
Created on Apr 2, 2025

This animated scatter plot explores relationships among US housing market variables, cycling through three attribute pairs every two seconds: average price versus number of sales, then number of sales versus average square footage, and so on. A D3 selection updates the x-scale domain and circle positions via the reusable scatterPlot component. The visualization uses d3-scale’s scaleLinear and extent, d3-axis for labeled axes, and d3-selection for SVG circle joins. Data comes from a CSV file loaded with d3.csv, rendered as an SVG filling the viewport. The code embeds a setInterval timer to swap the x-value accessor, demonstrating dynamic axis rescaling.

AI-generated description
MIT Licensed

Similar vizzes