Skip to main content
100%

Activity6_question 3

✓ Published0🌍 Public
Ssasidhharreddy@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This scatter plot visualizes the relationship between volatile acidity and citric acid in wine samples, with each point color-coded by quality rating. The code loads data from a GitHub-hosted CSV file using `d3.csv`, then processes numeric fields before rendering SVG circles. It uses `d3.scaleLinear` for both axes, `d3.axisBottom` and `d3.axisLeft` for ticks, and a custom color mapping for quality values. The visualization is built with D3 v6, rendered entirely in SVG, with labels added for both axes.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes