explaingit

cornerwayssoftware/swc-market-analytics

0HTMLAudience · dataComplexity · 2/5ActiveSetup · easy

TLDR

Single HTML dashboard that charts UK, US, and EU share trading volume for the Smarter Web Company from a fixed CSV of dates between April 2025 and May 2026.

Mindmap

mindmap
  root((swc-market-analytics))
    Inputs
      volume.csv
    Outputs
      Weekly chart
      Monthly chart
      Daily chart
      Market share chart
    Use Cases
      Compare regional trading volume
      Spot moving average trends
      Share static analytics page
    Tech Stack
      HTML
      React
      Recharts
      Papa Parse

Things people build with this

USE CASE 1

View weekly and monthly trading volume for the Smarter Web Company across three regions

USE CASE 2

Reuse the single-file React plus Recharts pattern for another small CSV dashboard

USE CASE 3

Embed the market share chart in an internal Bitcoin treasury report

USE CASE 4

Run the dashboard locally with npx serve to share it on a LAN

Tech stack

HTMLReactRechartsPapaParseBabel

Getting it running

Difficulty · easy Time to first run · 5min

No build step required, but the CSV is a fixed historical snapshot and the project is marked archived.

In plain English

SWC Market Analytics is a small self-contained dashboard for looking at trading volume data for a single UK-listed company, the Smarter Web Company, which is described in the README as a Bitcoin treasury company. The point of the project is to show, over time, how many shares are being traded in three different markets: the United Kingdom, the United States, and the European Union, with each market plotted separately rather than mashed together. The data itself lives in a CSV file called volume.csv. Each row is one trading date in YYYY-MM-DD format with three numbers next to it: ukVolume, usaVolume, and euVolume. The file covers from April 25, 2025 through May 8, 2026, so it is a fixed historical snapshot rather than a live feed. The author labels the project archived, and the repo is property of Cornerways Software Ltd. The dashboard is a single HTML file called analytics.html. Open it in a browser and you get four kinds of charts: a weekly volume view with a 4-week moving average line drawn on top to smooth out the noise, a monthly aggregate view for longer-term trends, a day-by-day breakdown, and a market share view that compares how much of the total volume came from each region. Summary statistics like total volumes and averages sit alongside the charts. The README says the layout is responsive and works on desktop, tablet, and mobile. To run it locally you do not need a build step. The README suggests npx serve dot to start a static file server, then open the URL it prints, usually http://localhost:3000/analytics.html. Under the hood, analytics.html pulls React 18 from a CDN for the UI, Recharts for drawing the graphs, Papa Parse for reading the CSV, and Babel to transpile the inline JavaScript in the browser. Modern Chrome, Edge, Firefox, and Safari are all listed as supported.

Copy-paste prompts

Prompt 1
Run swc-market-analytics with npx serve and open analytics.html in Chrome
Prompt 2
Replace volume.csv with my own ukVolume usaVolume euVolume CSV and check the charts render
Prompt 3
Switch the 4 week moving average in analytics.html to an 8 week one and compare smoothing
Prompt 4
Add a fifth chart that plots cumulative total volume across all three regions
Prompt 5
Migrate the inline Babel script to a Vite build so the dashboard ships without a CDN
Open on GitHub → Explain another repo

Generated 2026-05-22 · Model: sonnet-4-6 · Verify against the repo before relying on details.