Viz - Line - orient - right
✓ Published0🌍 Public
NNPashaP
Last edited Jan 19, 2018
Created on Jan 14, 2018
A line chart rendered in an SVG canvas displays a simple polyline with steelblue strokes. The chart plots four data points from a hardcoded array, mapping each x-coordinate to a vertical position. The chart is oriented to the right, meaning the y-axis is horizontal and the x-axis is vertical, using the `viz.line()` API from the Viz.js library with an `orient("right")` setting. The implementation relies on the `d3.select()` method to target the SVG group and call the visualization function, with D3 v4 providing the underlying selection and rendering utilities.
AI-generated descriptiongpl-3.0 Licensed