Skip to main content
100%

fresh block

✓ Published0🌍 Public
BBenPiggot
Last edited Jun 25, 2019
Created on Jun 25, 2019

This example demonstrates a minimal D3.js v4 visualization that renders a static SVG canvas with a single text element. The code selects the `<body>` element, appends an SVG of fixed dimensions (960 by 500 pixels), and places the string "Edit the code!" at coordinates (120, 200) with a monospace font. It uses the `d3.select` and `svg.append` APIs to construct the scene, serving as a starting template for interactive data-driven graphics. No external data source is loaded; the visualization is purely code-generated and immediately editable.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes