DGS Studio

Charts

Line Chart

Visualize trends across dates.

Line Chart is a line chart that shows the value changing from date to date. The table has columns Date, Sales. There are 5 data rows. The first rows read: 2026-01-01,120; 2026-02-01,150; 2026-03-01,135; 2026-04-01,190. Reading down the Sales column shows whether the series is rising or falling between months.

Keep the header row. Add or edit a data row in the field below, then generate to redraw only this table.

Equation

Date,Sales
2026-01-01,120
2026-02-01,150
2026-03-01,135
2026-04-01,190
2026-05-01,220

How to read the table

A chart page starts from a small CSV table. The first row names the columns, and each later row is one observation. DGS reads that table in the chart workflow and draws a D3 chart such as bars, a line, a pie, a scatterplot matrix, or a hierarchy.

Changing a number changes only that mark. Changing a header can change which column is treated as the category and which columns are the values. The editable field below is the whole table, so you can add a row and generate the chart again.

Reading the input

Try a change

Generate Chart reads this CSV in the chart workflow and draws it with D3. The example page does not embed the live chart. The button below opens the studio and runs the table.

Edit and generate

Generate Chart opens the studio homepage and runs this field. Open in DGS Studio loads the same text and waits for you to generate it. The equation is sent once, as a query parameter.

Related examples