Skip to main content
100%

assg2_q2

✓ Published0🌍 Public
Ssrilekhasridasyam@my.unt.edu
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Hello VizHub

This area chart visualizes the relationship between wine quality and alcohol content, using data from a CSV file of red wine samples. The chart plots quality on the x-axis and alcohol percentage on the y-axis, with the area filled in light gray. Built with D3.js v7, the code loads data via `d3.csv`, sorts records by quality, and constructs the visualization using `d3.area`, `d3.scaleLinear`, and SVG axis generators (`d3.axisBottom`, `d3.axisLeft`). The SVG canvas is created with dynamic width and height based on specified margins.

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