Skip to main content
100%

ordinal mulit line curve

✓ Published0🌍 Public
PPatrick Wojda
Last edited Nov 7, 2016
Created on Nov 7, 2016

Ten simulated series of fruit values are plotted as smooth, curving lines across an ordinal x-axis of six fruit names. The lines progress from light gray to black based on their series index, showing increasing darkness with each iteration. The code builds a line chart using D3 v4 with d3.line, d3.curveNatural, and d3.scalePoint for the categorical axis, while d3.scaleLinear maps values to the y-axis. Random jitter is applied to each fruit's value per series, and the x-axis is rendered with d3.axisBottom.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes