-scatter
✓ Published1🌍 Public
This example shows a social network graph of smartphone brands and models, where each phone is plotted as an orange node with labels combining brand and model names. The visualization uses D3.js v7 with the `d3.forceSimulation` API to position nodes through a force-directed layout, applying link, charge, and centering forces. Data is drawn from an inline array of smartphone objects. The graph renders as an SVG with edges and labels, updating positions on each simulation tick through the `ticked` function.
AI-generated descriptionMIT Licensed