Skip to main content
100%

d3 test

✓ Published0🌍 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.

MIT Licensed

Similar vizzes