🌍 Public
Viewing a saved revision (read-only)
9dc1114b15194070a4e8df77d301be9f
Bar Chart with D3.js
This bar chart visualizes the relationship between five named categories and their numeric values using D3.js v6. The visualization renders as an SVG with steelblue rectangular bars, a chart title, and no axis labels drawn. The code demonstrates D3’s `scaleBand` and `scaleLinear` for positioning and sizing bars, along with data binding via `selectAll` and `enter`. The input data is a hardcoded JavaScript array containing category-value pairs, and the chart is embedded in a basic HTML page without a framework.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.