Skip to main content
100%

Barycentric

✓ Published1🌍 Public
Mmicyen
Last edited Feb 7, 2023
Created on Feb 6, 2023
Forked from D3 Starter

A barycentric coordinate triangle plots three vertices in a 2D space, with axes scaled from 0 to 20 using D3’s `scaleLinear` and rendered as SVG. The code draws a blue polyline connecting the triangle’s points, which are computed from scaled x- and y-values. The example uses D3 v5, along with `d3.svg.axis` for the axes and an SVG container, demonstrating basic coordinate mapping and shape construction without a specific data source.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes