Skip to main content
100%

task9(b)

✓ Published1🌍 Public
Vvandanakosuri@my.unt.edu
Last edited Apr 24, 2024
Created on Apr 24, 2024
Forked from Hello VizHub

This area chart visualizes residual sugar levels for wine samples categorized as “bad” or “good” quality. Using D3.js v7, an SVG path is filled via the `d3.area` generator, mapping each data point’s index to a linear x-scale and its sugar value to a y-scale. Axes are added with `d3.axisBottom` and `d3.axisLeft`, with rotated x-axis tick labels. The dataset is embedded directly in the script, and the chart is rendered with a steelblue fill on a 600×400 canvas, with margins and no external data source.

AI-generated description
MIT Licensed

Similar vizzes