🌍 Public
Viewing a saved revision (read-only)
d317bf2a189d4ae1be6f577652153b20
Hello D3
This example demonstrates the simplest possible D3 visualization, rendering the text "Hello D3 ver. 6" directly into the page body. It uses D3’s `select` method to target the `body` element and set its text content. The page also includes a separate script that logs "Hello JavaScript!" to the browser console, while CSS centers the text at a large font size. The code relies on the d3.v6 library loaded from a CDN, with the main logic in `index.js`.
AI-generated descriptionA demonstration of how to start using D3 version 6.
A bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.