Fork of HTML Starter
✓ Published0🌍 Public
This example demonstrates a minimal HTML page that uses D3.js to apply an error style to a paragraph. The page contains static text reading "This page contain's error," and a D3 selection (`d3.select("p")`) assigns a CSS class named `error` to that paragraph, turning the text red and increasing its font size to 72 pixels. The code relies on the D3 v4 library loaded from a CDN, along with inline CSS defining the visual error styling. No data sources or dynamic behaviors are involved beyond this simple class manipulation.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed