Fork of D3 Starter
✓ Published0🌍 Public
This example displays the text “Hello D3” centered on the page, functioning as a minimal starter template. It demonstrates the core setup for a D3 v7 project using ES modules and an import map, with the page structure defined in HTML and styling via CSS. The script imports the `select` function from the d3 library and applies the `.text()` method to the body element. The example uses D3’s selection API to directly manipulate the DOM, showcasing a simple, uncomplicated introduction to building visualizations with the library.
AI-generated descriptionMIT Licensed