Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

AssQue1

Public visualization

Viewing a saved revision (read-only)

09014cc9e8174778b1133347dd34774f

AssQue1

0 stars1🌍 Public
Nnumitha
Last edited Apr 13, 2024
Created on Apr 13, 2024

This example shows a D3.js area chart displaying Happiness Scores across countries on a categorical x-axis. The visualization uses an SVG rendering approach with `d3.area` to draw a steelblue filled region beneath the score line. It loads CSV data from a GitHub gist via `d3.csv`, applies `d3.scaleBand` and `d3.scaleLinear` for positioning, and annotates axes with labels using `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

A demonstration of reusable scatter plot.