Skip to main content
100%

SO

✓ Published0🌍 Public
JJoyce Robbins
Last edited Dec 2, 2021
Created on Dec 2, 2021
Forked from HTML Starter

This example displays a bar chart of values for eight consecutive dates in October 2016, with rotated date labels on the x-axis and a dollar-valued y-axis. The SVG rendering uses D3 v4’s `scaleBand`, `scaleLinear`, `axisBottom`, and `axisLeft` to map the parsed time data to rectangles, with bars sized by `x.bandwidth()` and height derived from the linear scale. Axis labels are rotated via SVG `transform` attributes, and the chart is embedded in a plain HTML page without a framework.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes