Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Untitled

0 stars0🌍 Public
Ssariyya-abdullayeva
Last edited Mar 9, 2023
Created on Mar 9, 2023
Forked from D3 Starter

This example shows a minimal SVG graphic containing a red text label with two tspan lines. It introduces D3 version 6 by using the `select` function from the d3 module to set the body’s text content to “Hello D3 version 7”, despite the README’s reference to version 6. The SVG is defined directly in the HTML markup with fixed width and height attributes, using basic text and tspan elements for line breaks. The code demonstrates how to combine static SVG with a D3 selection for a simple DOM update.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed