Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Basic Line Plot

Public visualization

Viewing a saved revision (read-only)

906c959e8fd14be8acb35b2572f0cce8

Basic Line Plot

0 stars0🌍 Public
BBhanu Siva Kumar Kommana
Last edited Apr 10, 2023
Created on Apr 10, 2023

This basic line plot displays the number of online orders received over time, with dates on the x-axis and order values on the y-axis. The visualization uses D3.js v4 to load CSV data from a GitHub repository, parse dates with `d3.timeParse`, and render the chart as an SVG. Axes are created with `d3.axisBottom` and `d3.axisLeft`, while the line itself is drawn using `d3.line` with a red stroke. The chart is sized with explicit margins and scales using `d3.scaleTime` and `d3.scaleLinear`.

AI-generated description