🌍 Public
Viewing a saved revision (read-only)
c705f95b1a5b4f4eb07ff96cb0940d3f
My First D3.js Chart
This example displays a blank SVG canvas and logs the D3.js library object to the browser console. The HTML page loads D3 v7 from a CDN and creates an SVG element with fixed dimensions. The JavaScript simply outputs the `d3` object, demonstrating that the library is successfully imported and accessible. It serves as a minimal starting point for building charts, without rendering any visual data yet. The code uses the global `d3` API from the v7 bundle, with no additional modules or data sources involved.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.