Skip to content

Commit

Permalink
adopt observable10
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Mar 13, 2024
1 parent f7230b3 commit e439830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/lib/d3.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ For example, here is an interactive [force-directed](https://github.com/d3/d3-fo
```js echo
const width = 640;
const height = 640;
const color = d3.scaleOrdinal(d3.schemeCategory10);
const color = d3.scaleOrdinal(d3.schemeObservable10);

// Copy the data to protect against mutation by d3.forceSimulation.
const links = data.links.map((d) => Object.create(d));
Expand Down

0 comments on commit e439830

Please sign in to comment.