Skip to main content
100%

Q2

✓ Published0🌍 Public
RRJVENKATESH789@GMAIL.COM
Last edited Apr 22, 2024
Created on Apr 22, 2024
Forked from Hello VizHub

This example displays monthly temperature data as a filled area chart rendered in SVG. It uses D3’s `scaleBand`, `scaleLinear`, `area`, and `max` functions to map months and temperatures, with axes added via `axisBottom` and `axisLeft`. The area’s color is steelblue, and axis labels indicate “Month” and “Temperature (°C)”. The dataset is a static array of twelve month-temperature pairs, and the chart is generated by selecting the body and appending an 800 by 500 pixel SVG.

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