Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of areaChart

Public visualization

Viewing a saved revision (read-only)

8a6a0787728048889d86a6a2f2c80e86

Fork of areaChart

0 stars0🌍 Public
Rranjithkmr598@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from forkforlinechart

This example visualizes the Boston housing dataset, plotting crime rate (CRIM) per town using an area chart. The chart encodes the data with a steelblue filled area, where the x-axis lists town names (rotated for readability) and the y-axis scales CRIM values. Built with D3.js v7, it fetches a CSV, parses it with `d3.csvParse`, and uses `d3.area()` and `d3.scaleBand`/`d3.scaleLinear` to render the SVG path and axes. The code demonstrates a clean, reusable pattern for time-series-like comparisons across categorical labels.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.