Fork of ICE6.2 MBB
✓ Published0🌍 Public
This example visualizes the relationship between residual sugar and citric acid in wine samples, with each point colored by wine quality category. It uses D3 v6 to load CSV data, create linear scales, and render circles in an SVG canvas. The code applies `scaleLinear` for both axes, `axisLeft` and `axisBottom` for ticks, and maps quality values to colors using a switch statement. The dataset is fetched from a remote CSV URL, and the visualization fills the full browser window with margins for labels.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed