{"id":2123,"date":"2021-05-05T20:58:09","date_gmt":"2021-05-05T20:58:09","guid":{"rendered":"http:\/\/sites.uac.pt\/amendes\/?p=2123"},"modified":"2021-05-05T20:58:09","modified_gmt":"2021-05-05T20:58:09","slug":"plot-for-d3-users","status":"publish","type":"post","link":"https:\/\/sites.uac.pt\/amendes\/visualizacao\/plot-for-d3-users\/","title":{"rendered":"Plot for D3 Users"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/observablehq.com\/@observablehq\/plot-for-d3-users\"><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"198\" src=\"http:\/\/sites.uac.pt\/amendes\/files\/2011\/06\/graph23.jpg\" alt=\"\" class=\"wp-image-252\" srcset=\"https:\/\/sites.uac.pt\/amendes\/files\/2011\/06\/graph23.jpg 940w, https:\/\/sites.uac.pt\/amendes\/files\/2011\/06\/graph23-300x63.jpg 300w\" sizes=\"auto, (max-width: 940px) 100vw, 940px\" \/><\/a><figcaption>clique na imagem para seguir o link<\/figcaption><\/figure>\n\n\n\n<p class=\"has-luminous-vivid-amber-color has-text-color\">Uma novo biblioteca javaScript para gr\u00e1ficos e compara\u00e7\u00e3o com D3<\/p>\n\n\n\n<p>D3 is how I learned JavaScript, and it\u2019s the only chart library I know well. I\u2019m familiar with the idea of things like Vega-Lite, ggplot, and matplotlib, but I\u2019ve never really used them; I\u2019m a monoglot.<\/p>\n\n\n\n<p>But D3 can be hard to learn, and a slow way to make a quick chart. I like to paraphrase Amanda Cox saying, \u201cYou should use D3 if you think it\u2019s perfectly normal to have to write a hundred lines of code to get a bar chart.\u201d Over the last ten years there have been many attempts to address this by building libraries on top of D3, but I\u2019ve never gotten into any of them.<\/p>\n\n\n\n<p>Plot, <a href=\"https:\/\/observablehq.com\/@observablehq\/introducing-observable-plot\">announced today<\/a>, is the first thing that\u2019s gotten through to me. Granted, if you wanna get all conspiratorial, I suppose they\u2019re paying me to use it for work \u2014 but over the last couple months, when I start a personal project and want a chart, I\u2019ve started reaching first for Plot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Uma novo biblioteca javaScript para gr\u00e1ficos e compara\u00e7\u00e3o com D3 D3 is how I learned JavaScript, and it\u2019s the only chart library I know well. I\u2019m familiar with the idea of things like Vega-Lite, ggplot, and matplotlib, but I\u2019ve never really used them; I\u2019m a monoglot. But D3 can be hard to learn, and a [&hellip;]<\/p>\n","protected":false},"author":159,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4066,80],"tags":[4081,4076],"class_list":["post-2123","post","type-post","status-publish","format-standard","hentry","category-data-science","category-visualizacao","tag-grficos","tag-java-script"],"_links":{"self":[{"href":"https:\/\/sites.uac.pt\/amendes\/wp-json\/wp\/v2\/posts\/2123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.uac.pt\/amendes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.uac.pt\/amendes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.uac.pt\/amendes\/wp-json\/wp\/v2\/users\/159"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.uac.pt\/amendes\/wp-json\/wp\/v2\/comments?post=2123"}],"version-history":[{"count":1,"href":"https:\/\/sites.uac.pt\/amendes\/wp-json\/wp\/v2\/posts\/2123\/revisions"}],"predecessor-version":[{"id":2124,"href":"https:\/\/sites.uac.pt\/amendes\/wp-json\/wp\/v2\/posts\/2123\/revisions\/2124"}],"wp:attachment":[{"href":"https:\/\/sites.uac.pt\/amendes\/wp-json\/wp\/v2\/media?parent=2123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.uac.pt\/amendes\/wp-json\/wp\/v2\/categories?post=2123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.uac.pt\/amendes\/wp-json\/wp\/v2\/tags?post=2123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}