🌍 Public
Viewing a saved revision (read-only)
1841aba78ea34e93b9d68239e720bf4b
Activity 6_question 3
This example visualizes the relationship between daily mean temperature and humidity, using wind speed to encode point color, in a scatter plot. Daily climate data from a CSV file is represented by circles, with a continuous color gradient that maps wind speed values. The chart includes labeled axes and a color legend for wind speed. The implementation uses D3 v7 functions like `scaleLinear`, `extent`, `scaleSequential`, `interpolateCool`, `axisBottom`, and `axisLeft`, rendering as SVG within the HTML document. A custom color legend is created with a linear gradient and axis ticks.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.