---
title: "d3-force-sampled"
description: "Drop-in replacement for d3-force using random vertex sampling for linear-time layouts on large graphs."
canonical: "https://vibing.inc/library/d3-force-sampled-vg-0425"
category: "Data Visualization & Charts"
subcategory: "D3 plugins"
license: "open-source"
author: "Two Six Labs (@twosixlabs)"
source: "https://github.com/twosixlabs/d3-force-sampled"
---

# d3-force-sampled
Drop-in replacement for d3-force using random vertex sampling for linear-time layouts on large graphs.
## Facts
- Source: https://github.com/twosixlabs/d3-force-sampled
- Category: Data Visualization & Charts / D3 plugins
- Author: Two Six Labs (@twosixlabs)
- Licence: open-source
- Tags: force-layout, performance, graph, d3
## Why it's a gem
Same API as d3-force but survives graphs with tens of thousands of nodes
---
Listed in The Vibeary: https://vibing.inc/library/d3-force-sampled-vg-0425 · JSON: https://vibing.inc/api/public/library/gems/d3-force-sampled-vg-0425