Skip to main content
100%

Class: Area Graph

✓ Published0🌍 Public
VVirginiaHNg
Last edited Jun 27, 2017
Created on Jun 27, 2017

This example shows an area chart created from five data points, with a smooth curved boundary filling the space between the baseline and the data values. The visualization uses D3 v4 to render an SVG path, mapping x and y coordinates through linear scales. The `d3.area()` generator sets the baseline at y=0 and defines the upper boundary using a basis curve for smooth interpolation. The code appends a single path element with the generated `d` attribute, producing a gray, thick-stroked filled region that visually represents the trend across the dataset.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/VirginiaHNg/'>VirginiaHNg</a>'s block: <a href='http://bl.ocks.org/VirginiaHNg/d458b01d4a1c13966b6fef702a50ce3f'>Class: Line Graph</a>

mit Licensed

Similar vizzes