🌍 Public
Viewing a saved revision (read-only)
5d4c926d6d084425957468ddd6a87693
hw4
A scatterplot visualizes 845 US wines by price on a logarithmic x-axis and points score on a linear y-axis, with each circle colored by state using an ordinal color scale. The D3 v5 code uses `d3.json` to load wines.json, `d3.scaleLog` and `d3.scaleLinear` for axes with gridlines, and SVG circles with jitter. Mouseover interactions trigger transitions that highlight the circle with a black stroke and display the wine title in a text label.
AI-generated description