Gist 515d01d65d622b5733123dd0e2960cda
✓ Published0🌍 Public
Aamazingandyyy
Last edited Aug 14, 2023
Created on Aug 14, 2023
This visualization shows a personal credit-card transaction log from July 2023, mapping individual purchases by category and amount over time. It uses D3.js with `d3.forceSimulation` to position nodes representing transactions, while `d3.geoPath` renders a geographic background of the San Francisco Bay Area based on the merchants' locations. The data comes from the CSV file `tx.csv`, parsed into a bubble chart where node size corresponds to transaction value and color encodes category. The code also applies `transition.attrTween` for smooth node movements and tooltips to display transaction details on hover.
AI-generated description