Fork of Force Grid
✓ Published0🌍 Public
This example shows a force-directed scatterplot of food-item data, grouped by month along the x-axis and colored by type. The visualization uses a static simulation that runs 140 ticks before rendering, with circles positioned by `d3.forceSimulation` and forces including `d3.forceX`, `d3.forceManyBody`, and `d3.forceCollide`. Circle radius reflects length, while fill colors map to categories like Grain or Fruit. The data loads from `data.json` and renders as animated SVG elements using D3 v6, with a color scheme defined per food type.
AI-generated descriptionMIT Licensed