Skip to main content
100%

dataq2

✓ Published0🌍 Public
Pp99vijaya@gmail.com
Last edited Nov 6, 2024
Created on Nov 6, 2024

This example shows a monthly sales area chart rendered as an SVG, with labeled x- and y-axes. It uses D3 v6 `scaleBand` and `scaleLinear` to map months and sales values, while `d3.area` generates the filled path from the provided dataset. Axis labels are drawn manually as SVG text elements, and the chart is embedded directly in the HTML page without a separate data-loading step.

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