Skip to main content
100%

QuytD3

✓ Published0🌍 Public
Ttrongan765@gmail.com
Last edited Mar 4, 2024
Created on Mar 4, 2024
Forked from HTML Starter

This example shows how a single-page SVG visualization responds to user clicks by adding red circles at the click coordinates on an HTML page. The code uses D3.js version 7.8.5 to select the SVG container and bind a click event to the document body. Upon each click, the application appends a circle element with a fixed radius of 20 pixels, positioning it at the client X and Y coordinates of the mouse event. The implementation relies on d3.select and d3.event, with no external data source, and the page is written in Vietnamese.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes