Skip to main content
100%

Supermarket Sales

✓ Published0🌍 Public
GGauri Jare
Last edited Jan 22, 2023
Created on Jan 22, 2023
Forked from Loading Data

This example shows the raw contents of a supermarket sales dataset as a formatted JSON preview, displaying fields such as branch, product line, unit price, quantity, tax, total, and rating. It demonstrates a simple data-loading pattern: the code initially sets a loading state, fetches the CSV file, and parses it with `d3.csvParse`. The parsed data is then rendered into a `<pre>` element using D3's data join (`select`, `data`, `join`), giving a clear view of the structured records. The visualization is built with D3 v7 and uses a minimal state management approach.

AI-generated description

The dataset has sales of a supermarket company which has recorded values in 3 different branches for 3 months data. For this dataset I would like to create a Sales dashboard containing information about important KPIs, trend in sales data, how seasonality can affect the profit margin, etc.

Link: https://www.kaggle.com/datasets/aungpyaeap/supermarket-sales

MIT Licensed

Similar vizzes