Skip to content

Data Dashboard

An interactive dashboard with charts and filters, built from a CSV file.

Prompt

/js Visualize sales-data.csv data as an interactive dashboard. Show a bar chart of sales by region, a line chart of monthly trends, and a summary table. Add filters for date range and region.

Files

sales-data.csv:

csv
date,region,sales,units
2024-01-15,North,12500,150
2024-01-15,South,9800,120
2024-02-15,North,13200,160
2024-02-15,South,10500,130
2024-03-15,North,14100,175
2024-03-15,South,11200,140

Result