🌍 Public
Viewing a saved revision (read-only)
0c921bf3dec3443bb45f55f576f477f6
Fork of D3 Starter
This example demonstrates the basic setup of a D3 visualization, rendering the text "Hello D3 version 7" on a blank page. It serves as a minimal starter template, showing how to initialize D3 and add a simple element to the document. The code uses the D3 `select` function to target the HTML body and the `append` method to create a paragraph element. It relies on the `d3` library, specifically the version 7 API, loaded from the unpkg CDN, and assigns an attribute to the newly created element.
AI-generated descriptionA demonstration of how to start using D3 version 6.