Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 6 q 2

Public visualization

Viewing a saved revision (read-only)

19b2c9b7eff54374843c51f1217c7423

activity 6 q 2

0 stars0🌍 Public
RRakesh Yadav
Last edited Apr 11, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This visualization shows daily temperature variations in Delhi using a stacked bar chart, breaking down mean, minimum, and maximum temperatures across the dataset. The chart uses color-coded segments to represent the three temperature metrics, with the primary data source being the DailyDelhiClimateTest.csv file. Built with D3 v6, the code employs `d3.stack()` to compute the stacked series, `d3.scaleBand()` for the time-based x-axis, and `d3.scaleLinear()` for the y-axis, rendering the final output as SVG elements with semi-transparent bars.

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.