🌍 Public
Viewing a saved revision (read-only)
cc6d07b87bef4ba7bb0af2d2ff5d407a
welcome d3
This example demonstrates a minimal D3.js visualization that renders the text "hello d3 v6" centered on a blank page. The page uses CSS to set the font size to 13em and center the text, while the JavaScript, written in `index.js`, imports the `select` function from D3 and applies it to the body element to set its text content. The HTML file loads D3 v6 from a CDN and includes a stub script tag for a bundle. The visualization shows the simplest possible D3 integration, highlighting the library's selection and text manipulation capabilities without any data or complex rendering.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.