Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Cool Staff of SVG

huozhi
November 23, 2016

Cool Staff of SVG

Interesting ideas of SVG. Cook with React.

huozhi

November 23, 2016
Tweet

More Decks by huozhi

Other Decks in Technology

Transcript

  1. Why SVG? What’s special? Easily controlled by PROPS fill, stroke-width,

    stroke-linecap Good Compatibility DOM structured <svg><path d=“…”></svg> Positioning easily x, y, r, cx, cy, x1, y1…
  2. Complex Application Scenarios d3 force layout graph multi-layer dependency complex

    relationship d3 geographic map fancy background image meaning data visualization
  3. Interesting Extension ISOMORPHIC JS Service serve static icons generate graphics

    request specific query, response dynamic visual display