Shapes with SVG and CSS
✓ Published1🌍 Public
This example demonstrates basic SVG shapes—a circle, rectangle, and grouped shapes—alongside simple CSS styling for a list item and page typography. The visualization uses raw SVG markup within an HTML file, rendering shapes with both default and explicit fill colors, including a translated group. The code imports D3.js’s `select` function to set text on a message div, and a local ES6 module provides the greeting. The chart is static, showing how SVG primitives and CSS classes can be combined for a minimal, flexible visual composition.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed