Skip to main content
100%

Viz - Legend - rows

✓ Published0🌍 Public
NNPashaP
Last edited Jan 13, 2018
Created on Jan 13, 2018

This example demonstrates a simple SVG legend that arranges ten categorical items in five rows. A legend instance is created with the `viz.legend()` API, receives the data array, and sets its row count to five. The legend renders using `legend.circle` markers and is attached to an SVG group element via `d3.select("g").call(legend)`, producing a grid of labeled circles.

AI-generated description
gpl-3.0 Licensed

Similar vizzes