Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Q3_Activity8

Public visualization

Viewing a saved revision (read-only)

7e2d738de2e84573bf3747501e7a7762

Q3_Activity8

0 stars0🌍 Public
Vvaishalireddy55555@gmail.com
Last edited Apr 16, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This example displays a scatter plot of happiness survey data, plotting age on the x-axis against income on the y-axis. Each point is colored according to the reported happiness level (High, Medium, or Low) using a custom color mapping. The visualization is rendered as an SVG using D3 v6, with data loaded from a remote CSV file via `d3.csv`. Axes are generated using `d3.axisLeft` and `d3.axisBottom`, while linear scales are created with `d3.scaleLinear`.

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.