Skip to main content
100%

Fork of D3.js Line Chart

✓ Published0🌍 Public
NNikithakatta30
Last edited May 13, 2023
Created on May 13, 2023
Forked from D3.js Line Chart

This chart shows the trend of Happiness Scores for China, India, and Japan over five years, drawing on data from the World Happiness Report. A single line is rendered using an SVG path generated by the D3.js `d3.line` function. The x-axis uses an ordinal scale (`d3.scaleBand`), while the y-axis is a linear scale (`d3.scaleLinear`); both axes are created with `d3.axisBottom` and `d3.axisLeft`. The visualization aggregates the data to show the overall score trajectory, though it does not distinguish between the three countries in its line presentation.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes