Skip to main content
100%

Fork of D3 Starter

✓ Published0🌍 Public
SSophia Cofone
Last edited May 24, 2022
Created on May 24, 2022
Forked from D3 Starter

This example demonstrates a minimal D3 version 7 setup by rendering the text “Hello D3 version 7” on an otherwise empty page. The code uses `select` from the D3 module to set the body’s text content. It also includes a color legend built with `d3.scale.quantize`, the `d3.legend.color` plugin, and a color scale ranging from 0 to 0.15, rendered on an SVG group. The legend uses `colorbrewer.YlGn[9]` for its color range, along with custom shape padding, width, height, and label offset.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes