Skip to main content
100%

Assignment 9(2)

✓ Published0🌍 Public
Ppravallikachowdary16518@gmail.com
Last edited Apr 29, 2024
Created on Apr 28, 2024
Forked from Hello VizHub

This example shows monthly temperature averages in New York City from 2019 through 2020, using an area chart to highlight the cyclical rise and fall of temperatures across the calendar year. The SVG visualization, built with D3.v7, employs `d3.scaleBand` for the monthly x-axis, `d3.scaleLinear` for the temperature y-axis, and `d3.area` to generate the filled path with a steelblue color. Axis labels and a title are added via `d3.axisBottom`, `d3.axisLeft`, and text elements, with all data hardcoded in the script.

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