Animated line drawing in SVG<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"In my first post about making charts, I looked at methods that solely relied on CSS. I argued that this wasn\u2019t the best option in most cases; there are just too many tricky design and development hurdles to overcome. Generally speaking, it\u2019s best to make charts with a combination of SVG, JavaScript, and CSS.<\/p>\n","protected":false},"author":223806,"featured_media":280414,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":[]},"categories":[4,20],"tags":[881,520,469],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2018\/12\/css-audit-specificity-graph.png?fit=1200%2C600&ssl=1","jetpack-related-posts":[{"id":246686,"url":"https:\/\/css-tricks.com\/svg-charting-libraries\/","url_meta":{"origin":208855,"position":0},"title":"SVG Charting Libraries","date":"October 18, 2016","format":false,"excerpt":"There is no shortage of options with charting libraries on the web. That\u2019s good! Competition is good for consumers. It keeps the quality high. That\u2019s certainly true here. The landscape of charting libraries is pretty impressive, ranging from the good-and-free to the excellent-and-paid. We\u2019re limiting the options presented here specifically\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2016\/10\/amcharts.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":206106,"url":"https:\/\/css-tricks.com\/designing-flexible-maintainable-pie-charts-with-css-and-svg\/","url_meta":{"origin":208855,"position":1},"title":"Designing Flexible, Maintainable Pie Charts With CSS and SVG","date":"August 6, 2015","format":false,"excerpt":"Lea Verou's explorations of creating pie charts. Particularly fascinating is her suggestion of using conic gradients. Conic gradients are specced, but yet not supported in browsers. Thankfully, she's made a polyfill. Pie charts are an excellent example of why conic gradients are so cool. Check out the tag on CodePen.","rel":"","context":"In "Link"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":297707,"url":"https:\/\/css-tricks.com\/when-to-use-svg-vs-when-to-use-canvas\/","url_meta":{"origin":208855,"position":2},"title":"When to Use SVG vs. When to Use Canvas","date":"November 12, 2019","format":false,"excerpt":"SVG and canvas are both technologies that can draw stuff in web browsers, so they are worth comparing and understanding when one is more suitable than the other. Even a light understanding of them makes the choice of choosing one over the other pretty clear. A little flat-color icon? That's\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/11\/svg-canvas.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":9523,"url":"https:\/\/css-tricks.com\/animated-3d-objects-without-svg-or-canvas\/","url_meta":{"origin":208855,"position":3},"title":"Animated 3D Objects Without SVG or Canvas","date":"May 24, 2011","format":false,"excerpt":"One of the ways you can make a triangle with CSS is by using a 45-degree angle gradient on an element that goes from from colored to transparent with an hard split at the half-way point. Then you can use CSS3 stuff like translate, rotate and skew on them to\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":259513,"url":"https:\/\/css-tricks.com\/react-dataviz\/","url_meta":{"origin":208855,"position":4},"title":"React + Dataviz","date":"September 18, 2017","format":false,"excerpt":"There is a natural connection between Data Visualization (dataviz) and SVG. SVG is a graphics format based on geometry and geometry is exactly what is needed to visually display data in compelling and accurate ways. SVG has got the \"visualization\" part, but SVG is more declarative than programmatic. To write\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2017\/09\/reactdataviz.png?fit=1000%2C412&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":7433,"url":"https:\/\/css-tricks.com\/html5-pack-for-illustrator-cs5\/","url_meta":{"origin":208855,"position":5},"title":"HTML5 Pack for Illustrator CS5","date":"September 13, 2010","format":false,"excerpt":"Via Real World Illustrator: You can designate certain attributes (i.e., fill, stroke, opacity) as variables right from the Appearance panel in Illustrator. When saved as SVG, developers can easily change the variable definition to \"reskin\" or modify the art And other interesting stuff like: You can select an object on\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/208855"}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/223806"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=208855"}],"version-history":[{"count":9,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/208855\/revisions"}],"predecessor-version":[{"id":366888,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/208855\/revisions\/366888"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media\/280414"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=208855"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/categories?post=208855"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=208855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}