This repo is a lightweight v0.9 consolidation of your two existing HTML apps:
views/value-chain.html(your fixedindex.html)views/customer-journey.html(cj.html)
Both views read the same dataset:
data/data.json
index.htmlis a shell with tabs.- The shell loads each view in an
<iframe>. - The only change made to the embedded views is updating the dataset path from
data.json→../data/data.json.
From the repo folder:
python -m http.server 8000Then open:
http://localhost:8000/
- Enable Pages for the repo.
- Use the root as the Pages source.
If you want this to be a true single app (no iframes) with shared state:
- Extract a shared data loader + store (
dataStore.js). - Convert each view to a module that renders into a container (
renderValueChain(root, store)andrenderCustomerJourney(root, store)). - Add a simple router (
#/value-chain,#/customer-journey). - Optional: implement cross-view selection sync (e.g., choose L1/L2 in one view and highlight the same in the other).