Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

wine_scatterplot_menus

Public visualization

Viewing a saved revision (read-only)

9f067c2c64b44742b1e5b563e595292d

wine_scatterplot_menus

0 stars0🌍 Public
SSophia Cofone
Last edited Oct 27, 2022
Created on Oct 27, 2022

This interactive scatterplot explores chemical properties of red and white wines, allowing users to compare any two numeric variables from the dataset through dropdown menus. The visualization filters wines by type and renders maroon circles for red wines or golden circles for white wines. It uses D3 v5 with SVG and animated transitions, where circles expand from the plot center to their positions over one second. The code employs `d3.scaleLinear`, `d3.axisBottom`, `d3.axisLeft`, and `d3.csv` for data loading.

AI-generated description