Skip to main content
100%

LineChart

✓ Published5🌍 Public
Ggabrielribeirob
Last edited Nov 23, 2021
Created on Sep 2, 2021
Forked from Temperature in SF

This line chart displays monthly gross profit across a date range, with data imported from a CSV file. The visualization uses D3 v7 to construct scales, axes, and a line generator, rendering the chart as inline SVG. The y-axis is labeled "Lucro bruto," and the chart includes a title and axis labels. The code applies `d3.scaleTime` and `d3.scaleLinear` for positioning, `d3.line` for the path, and `d3.axisLeft` and `d3.axisBottom` for ticks, with dates formatted using `d3.timeFormat`.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes