Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

HTML Starter

Public visualization

Viewing a saved revision (read-only)

c2d17d746f224c60a0fe2fffdc4fefb7

HTML Starter

0 stars0🌍 Public
Ffabricio3g
Last edited Dec 13, 2020
Created on Nov 8, 2020
Forked from HTML Starter

This example displays a bar chart of menu items from a JSON file, showing the quantity ordered for each item. The bars are rendered as orange SVG rectangles using D3 v6’s `scaleLinear` and `scaleBand` for scaling the y-axis and x-axis positions. Data is loaded via `json('menu.json')`, and the chart updates through D3’s `select` and `enter` APIs.

AI-generated description

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

See also React Starter.