🌍 Public
Viewing a saved revision (read-only)
393ecea854214549bdcd159f5887be18
Attempt of Interactive Filtering
This interactive scatterplot filters a shopping habits dataset by season. A dropdown menu lets users select between all seasons, Summer, Winter, Spring, or Fall, dynamically updating the displayed points. The visualization encodes purchase amount on the x-axis and customer review rating on the y-axis, with circle size representing previous purchases and color indicating the season. Built with D3 7.8.5, the code uses scaleLinear for axes, join operations for SVG elements, and change event listeners on a select element to redraw the circles via JavaScript data filtering.
AI-generated description