Skip to main content
100%

activity 7.1 question 2

✓ Published0🌍 Public
Ggketan456@gmail.com
Last edited Nov 5, 2024
Created on Nov 5, 2024
Forked from Hello VizHub

This example shows an area chart of average clothing weight by size. The visualization loads CSV data from a GitHub gist, groups the records by clothing size, and computes the mean weight for each category before drawing the chart using D3 v7. The SVG rendering uses `d3.scaleBand` for the categorical x-axis, `d3.scaleLinear` for the y-axis, and a `d3.area` generator to create the filled path. Axes are added with `d3.axisBottom` and `d3.axisLeft`, and the chart is styled with steelblue fill.

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