JSDM

Loading ..................

Apple Watch Radial Chart

描述

Tried recreate apple watch's radial chart with d3. Turns out to be surprisingly hard. D3 natively does not support round corner on arcs, not to mention that conical gradient involves lots of hacks as well.

Used a modified version of d3 by mbostock, which implemented a round corner for arcs in d3, see more details on this pull request on github (which have never made into production):

https://github.com/mbostock/d3/pull/1132

标签

  1. d3

评论

  1. 暂无评论

发表评论 支持Markdown

你必须 登录 之后才可以留言
  • 7069 查看
  • 0 评论
  • 0 喜爱

暂无点赞的用户

暂无Fork