Skip to main content
100%

Fork 1 project of area chart

✓ Published0🌍 Public
YYashwanth0311
Last edited Apr 14, 2024
Created on Apr 14, 2024

This example displays two linked area charts showing temperature and pressure variations across the months of 2020, with interactive buttons allowing the selection of data for 2021 or 2022. The visualizations use Chart.js to render line charts with enabled fill, displaying temperature in Celsius and pressure in hPa. The charts are drawn on separate HTML canvas elements, and the button click handlers trigger an `updateChart` function that switches the displayed dataset.

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