Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

d3 test

Public visualization

d3 test

0 stars0๐ŸŒ Public
JJacobRozak
Last edited Mar 13, 2023
Created on Mar 13, 2023
Forked from D3 Starter

This example demonstrates a minimal starting point for using D3 version 7, creating a simple SVG canvas that fills the browser window. The code imports the `select` function from the D3 library and appends an SVG element to the page body, sizing it with `window.innerWidth` and `window.innerHeight`. It then defines an array of ten rectangle objects with fixed positions and dimensions, logging them to the console. No visual output is rendered from those rectangles; the example solely focuses on setting up the D3 environment and data structures.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed