🌍 Public
Viewing a saved revision (read-only)
1d9c5ad58f3b48a7881e3138dbe85216
BarChart
This example displays a blank SVG canvas, with the page title and a reference video indicating it is a D3 bar chart demonstration. The code imports the `select` function from D3 and changes the body text to a simple greeting, while a separate stylesheet establishes global margin and stroke styles for elements with the class `lines`. The rendered output does not yet include any bars or data, as the JavaScript only sets text content and the SVG container remains empty.
AI-generated descriptionA demonstration of how to start using D3 version 6.