🌍 Public
Viewing a saved revision (read-only)
4927fc4e46a94ae5800f7a1bc5806f89
test
This example presents a bar chart of sales figures for nine retail stores, sourced from a JSON file. The visualization encodes each store’s sales value as a horizontal bar’s width, with a fixed height and blue fill. Built with D3 v4, the code loads the data via `d3.json`, then appends SVG rectangles to a canvas using the `data`, `enter`, and `append` methods, mapping the `Sales` field to a scaled width.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.