D3 Scatterplot with Imported SVG Symbols

摘要

This code uses d3.xml to import two unique SVGs that are used as symbols on a scatterplot. The custom symbols are appended to Christopher Hewett's scatterplot which adapts Mike Bostock's example, Scatterplot with Shapes, to D3 version 5. Custom illustrations are added to the chart by appending the SVGs to a pattern, which is used as a fill for d3.symbolSquare.

欢迎在评论区写下你对这篇文章的看法。

评论

首页 - Wiki
Copyright © 2011-2024 iteam. Current version is 2.126.0. UTC+08:00, 2024-06-03 07:42
浙ICP备14020137号-1 $访客地图$