Skip to main content
100%

Viz - Line - Default

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

This example shows a simple line chart rendered as an SVG polyline, with four data points plotted on a 960×500 canvas. The line uses a steelblue stroke and a slight transform offset, displaying the default styling of the viz.line API from the Viz.js library. The code loads D3 v4 and Viz.js 1.3.0, then passes an array of objects—each containing a key and value—to the viz.line function via the d3.select("g").call(...) method, producing the minimal line visualization.

AI-generated description
gpl-3.0 Licensed

Similar vizzes