Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of HTML Starter

Public visualization

Viewing a saved revision (read-only)

d2f51a2ed78f4ee2a2f51577ec709e11

Fork of Fork of HTML Starter

0 stars0🌍 Public
NNita
Last edited Mar 5, 2025
Created on Mar 5, 2025

This example renders an SVG path using D3.js version 7, displaying two transformed copies of a single path data string. The visualization demonstrates how to create an SVG container, use D3's `select` and `append` methods, and apply SVG transformations like `translate` and `scale` to position and resize the path. The code also shows data joins with `join` to add path elements, styling them with different stroke widths, colors, and fill opacities. A white stroke outline is added beneath each path for improved visibility.

AI-generated description

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

See also React Starter.