Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Area Chart of Uk Population

Public visualization

Viewing a saved revision (read-only)

42378767d0ac44fab32a265f802e346f

Fork of Area Chart of Uk Population

0 stars0🌍 Public
NNikitha123171
Last edited Mar 26, 2023
Created on Mar 26, 2023

This example displays the Crime Index of various countries as a smooth area chart, overlaid with a black line for emphasis. Although the heading references UK population, the data comes from an external CSV file. The code uses d3.csv to load the data, d3.scaleTime and d3.scaleLinear for axes, and d3.area with d3.curveBasis to generate the filled SVG path. Axis ticks are styled with a custom orange color via CSS.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.