0

Just a quick question. Can I use d3 to draw protein domains like the following?

Image of a protein domain

My plan is to attach these little protein domains to a tree, which would look awesome.

Thanks a lot in advance!

fabsta
  • 147
  • 1
  • 4
  • 13
  • Quick answer: yes you can. – Lars Kotthoff Jan 22 '13 at 16:58
  • @LarsKotthoff Cool! Do you happen to have a link with an example? – fabsta Jan 22 '13 at 17:00
  • 1
    No. It looks like all you would need is a few bars and a circle/ellipse with some text in it though. – Lars Kotthoff Jan 22 '13 at 18:04
  • The usual spot for examples of all kinds https://github.com/mbostock/d3/wiki/Gallery there are a few tree examples and some basic shape examples. – Superboggly Jan 22 '13 at 19:54
  • Suggest adding or linking the underlying data that constitutes a protein domain. Agree that it can be done. – cmonkey Jan 22 '13 at 20:15
  • Just to note: "Can D3 draw..." questions are like "Can a pencil draw..." questions. D3 renders SVG, and SVG can represent most vector images. If you are asking "Does D3 have a prebuilt component to draw protein domains?", then the answer is no. – nrabinowitz Jan 22 '13 at 22:36

0 Answers0