Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Fork of Fork of area chart

Public visualization

Viewing a saved revision (read-only)

259d4b73b4894e8080ea6e932165f45a

Fork of Fork of Fork of Fork of Fork of area chart

0 stars1🌍 Public
YYashwanth0311
Last edited Apr 19, 2024
Created on Apr 14, 2024

This example displays two side-by-side area charts showing temperature and pressure data for a selected city and year. A dropdown menu lets viewers choose between Bangalore, Vancouver, and San Francisco for the years 2020 through 2022. The charts are drawn on Canvas elements using the Chart.js library, with temperature plotted as a single red-tinted dataset per chart. The visualization relies on hardcoded JavaScript objects containing the monthly data values for each city and year combination.

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.