<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Robert Crocker on Medium]]></title>
        <description><![CDATA[Stories by Robert Crocker on Medium]]></description>
        <link>https://medium.com/@robcrock?source=rss-45cce4c30652------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*p_M_kRrNsvgKsftgP_R4iQ.png</url>
            <title>Stories by Robert Crocker on Medium</title>
            <link>https://medium.com/@robcrock?source=rss-45cce4c30652------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 18:33:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@robcrock/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Adding D3 Data Visualizations to Your React App Has Never Been Easier]]></title>
            <link>https://medium.com/better-programming/adding-d3-data-visualizations-to-your-react-app-has-never-been-easier-2e80c9f2c712?source=rss-45cce4c30652------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e80c9f2c712</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Robert Crocker]]></dc:creator>
            <pubDate>Thu, 03 Feb 2022 14:32:38 GMT</pubDate>
            <atom:updated>2022-02-04T18:42:48.876Z</atom:updated>
            <content:encoded><![CDATA[<h4>A first look at the D3Reactor library</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AOSg3G1qt4hImqmCCx0X1Q.png" /></figure><p>For the past three months, a group of five engineers: <a href="https://www.linkedin.com/in/dmitri-leroy/">Dmitri Iershov</a>, <a href="https://www.linkedin.com/in/eceiozalp/">Ece Ozalp</a>, <a href="https://www.linkedin.com/in/irbopia/">Travis Lockett</a>, <a href="https://www.linkedin.com/in/eric-mulhern/">Eric Mulhern</a>, and <a href="https://www.linkedin.com/in/robertcrocker/">I</a> have been hard at work developing a new, open-source data visualization library called <a href="https://www.d3reactor.com/">d3reactor</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HUoPpkGZPJhBe0iX0snDNA.png" /><figcaption><a href="https://www.d3reactor.com/">d3reactor site</a></figcaption></figure><p>This new React + D3 library was inspired by the previous <a href="https://opensourcelabs.io/">OS Labs</a> project, the <a href="https://react-d3-library.github.io/">React D3 library</a>. While inspired by the work that came before us, this was an entirely new venture! One we are happy to share with you today 🚀</p><blockquote>d3reactor employs the latest features from React and D3 (v6+) to make <strong>modern, visually appealing, and performant charts</strong> more accessible to all developers — not just data visualization experts.</blockquote><h3>What is different this time around?</h3><h4>No Class Components in sight</h4><p>Hooks were introduced over 3 years ago, at React Conf in October 2018. At this point in time, they are fully embraced by the React team and the community.</p><p>While the previous project solely relied on class components, the need to adopt functional components was clear as one of the <a href="https://reactjs.org/docs/hooks-rules.html">Rules of Hooks</a> is that they are only to be used in functional components.</p><p>By fully embracing functional components, the core team and contributors can leverage Hooks and spend more cycles on what to keep in sync, rather than how to keep things in sync.</p><p>Hooks also help us to create an easier-to-understand codebase with much less boilerplate as compared to class components. Again, improving the developer experience for our contributors.</p><p>Additionally, hooks allow us to organize related code together and separate concerns within each component.</p><h3>Pavel on Twitter: &quot;Took @dan_abramov&#39;s code from #ReactConf2018 and visualised it so you could see the benefits that React Hooks bring us. pic.twitter.com/dKyOQsG0Gd / Twitter&quot;</h3><p>Took @dan_abramov&#39;s code from #ReactConf2018 and visualised it so you could see the benefits that React Hooks bring us. pic.twitter.com/dKyOQsG0Gd</p><h4>Playing to each libraries strengths</h4><p>Because both D3 and React can efficiently generate, update, and remove nodes, the library’s can be challenging to decouple. But if React is part of your stack, you likely don’t want other libraries getting control of the DOM.</p><p>And while D3 does a fine job of updating the DOM via its enter, update, and exit methods, <a href="https://reactjs.org/">React</a> owes its phenomenal reputation to enabling developers to efficiently update and render just the right components as your application state changes.</p><p>So what is D3 responsible for if React is managing the DOM?</p><p><a href="https://d3js.org/">D3</a> is arguably the most popular data visualization library for the web. While we are currently only using a fraction of what D3 offers, we are making full use of D3’s scaling functions. These functions make mapping abstract data to pixel positions and even HEX codes trivial.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D0_Ij8ZWvCFSGHHsfOdHlg.png" /><figcaption>Inspired by Fullstack D3 and Data Visualization — Amelia Wattenberger</figcaption></figure><p>We also continue to leverage D3’s <a href="https://github.com/d3/d3-shape">generator</a> and <a href="https://github.com/d3/d3-array">array</a> methods to structurally transform data and translate that data into definitions of SVG elements.</p><p>Do you want to be responsible for writing the function that returns the “d” attribute in the image below?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XcJsRLrKqwN-N0XRNfiJBw.png" /></figure><p>Thankfully, D3 handles this operation elegantly, for which we are eternally grateful 🙏</p><h3>What to be excited about?</h3><h4>10 charts out of the gate</h4><p>Our launch has a strong core of feature-rich charts such as:</p><ul><li><a href="https://www.docs.d3reactor.com/docs/Charts/bar-chart">Bar</a></li><li>Stacked Bar</li><li><a href="https://www.docs.d3reactor.com/docs/Charts/line-chart">Line</a></li><li>Multi-line</li><li><a href="https://www.docs.d3reactor.com/docs/Charts/area-chart">Area</a></li><li>Stacked Area</li><li><a href="https://www.docs.d3reactor.com/docs/Charts/scatter-plot">Scatter Plot</a></li><li>Multi-scatter Plot</li><li><a href="https://www.docs.d3reactor.com/docs/Charts/pie-chart">Pie</a></li><li>Donut</li></ul><h4>Declarative components</h4><p>In true React fashion, our charts are entirely declarative. You pass in the props and let the library take care of the rest.</p><p>All the code you need to create a Bar Chart with axes and tooltip is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GykqT2fG6AiGQIMnDJKcLA.png" /></figure><p>And to go from a Bar Chart to an Area Chart, all you have to do is change “Bar” to “Area”.</p><p>Other data visualization libraries either have you write D3 code to copy and paste into a React component or ask that you compose your charts from their individual child components.</p><p>By copying and pasting D3 code into a React application, you are very likely going to run into conflicts as to which library is controlling the DOM. This is a much more serious issue than reading through documentation to learn how child components are composed, but we wanted to make the experience better all around.</p><p>After you create a few charts with d3reactor, you probably won’t even need the <a href="https://www.docs.d3reactor.com/docs/intro">docs</a>, thanks to the declarative nature of our component and intuitive props.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wZ616fzROa6twra6eqU2uA.png" /><figcaption><a href="https://www.docs.d3reactor.com/docs/intro">d3reactor docs site</a></figcaption></figure><h4>Written entirely in TypeScript</h4><p>As is clear by now, we have made this library with the dev community in mind.</p><p>The handful of you who use <a href="https://www.typescriptlang.org/">TypeScript</a> in React with D3 know how much tension that stack can cause, but we feel it is best for the longevity of this Open Source project.</p><p>By fully embracing TypeScript from the start, we are forced to thoughtfully consider the type and structure of the data being passed to our chart components. Plus, you get the full benefit of Type Annotations out of the box.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KKeDnIR8Y2KHSxLDj2FLoQ.png" /><figcaption>Bar Chart Type Annotations</figcaption></figure><h4>And more</h4><p>Not only are our charts straightforward to declare and fully typed, but they are also:</p><ul><li>Responsive</li><li>Performant</li><li>SSR friendly, enabling use in React-based frameworks like Gatsby and Next.js</li><li>come with Tooltips and Legends out of the box</li><li>15 colors schemes to choose from</li><li>Jest and Cypress testing is already in place</li><li>have theming for dark 🔦 and light modes 😎</li></ul><h3>What is to come?</h3><p>The d3reactor team will maintain the library and firm up the initial foundation. While there is undoubtedly code to clean up, the bones are good.</p><p>We will be:</p><ul><li>Improving performance with large datasets by rendering to Canvas</li><li>Improving the charts’ responsiveness to more dynamic UI</li><li>Adding additional charts</li><li>Allowing users to add custom color schemes</li><li>Surfacing theming with styled-components</li><li>Adding animations. interactive styles, and gradients</li><li>… and much more</li></ul><p>Consider this your invitation to contribute, kick the tires, provide feedback, open issues, and help guide the future development of this new React + D3 library; d3reactor.</p><p>Thank you for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e80c9f2c712" width="1" height="1" alt=""><hr><p><a href="https://medium.com/better-programming/adding-d3-data-visualizations-to-your-react-app-has-never-been-easier-2e80c9f2c712">Adding D3 Data Visualizations to Your React App Has Never Been Easier</a> was originally published in <a href="https://betterprogramming.pub/">Better Programming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Streamlined Authentication with Tableau’s Connected Apps]]></title>
            <link>https://medium.com/starschema-blog/streamlined-authentication-with-tableaus-connected-apps-16e3e8385ae1?source=rss-45cce4c30652------2</link>
            <guid isPermaLink="false">https://medium.com/p/16e3e8385ae1</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[json]]></category>
            <category><![CDATA[tableau]]></category>
            <category><![CDATA[json-web-token]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Robert Crocker]]></dc:creator>
            <pubDate>Wed, 12 Jan 2022 13:34:25 GMT</pubDate>
            <atom:updated>2022-01-12T13:34:25.243Z</atom:updated>
            <content:encoded><![CDATA[<h3>Streamline Authentication with Tableau’s Connected Apps</h3><h3>Introduction</h3><p>With Tableau’s recent release of Connected Apps, securely embedding visualizations in your customer portal or third-party applications just became much simpler — and there are few features more important to our applications than security. This is likely the first of many features we’ll see supporting leaders and developers who are creating applications that expand Tableau’s capabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oi9lYWdI8tGp-IDydRrq3g.png" /></figure><p>In this post I’ll introduce the technology Tableau is leveraging in Connected Apps in order to streamline authentication. Shedding light on the technology behind Connected Apps will help your teams properly deploy this solution, improve data security and develop more productively.</p><h3>What problem do Connected Apps solve?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iSFlKX74YkwPI2NauPyZww.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@markusspiske?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Markus Spiske</a> on <a href="https://unsplash.com/s/photos/authentication?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Whenever you open a web page that requires you to sign in before allowing you to access the content, you are going through an authentication process. For Tableau, <a href="https://help.tableau.com/current/server/en-us/security_auth.htm">before Connected Apps</a> was released, a user’s identity needed to be passed along to Tableau via an external authentication technology such as Kerberos, SSPI, SAML, or OpenID. Tableau created trust with these technologies through what they called Trusted Tickets. If you hadn’t set up Trusted Tickets, the component of your application embedding Tableau will prompt the user to Sign In to Tableau.</p><p>This is a poor user experience.</p><blockquote>Authentication is simply what happens when our identity is verified.</blockquote><h3>How do Connected Apps authenticate?</h3><p>To make this heady content about application security more accessible, let’s use a s<a href="https://es.wikipedia.org/wiki/Speakeasy">peakeasy</a> as an analogy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wazd89ZtEom4DvjPjC1Hkg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@lornov?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Laure Noverraz</a> on <a href="https://unsplash.com/s/photos/speakeasy?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Like the users visiting our application, patrons of a speakeasy have content they intend to consume. However, this content is protected.</p><p>For the sake of this example, let’s place the entrance to the speakeasy in the back of a club.</p><p>Like for any secured application, at a speakeasy, you can’t even enter the club before you prove your identity and that you’re of age to drink. Presenting your ID at the club is very similar to what takes place when visitors of our application provide their username and password to sign in.</p><p>With Tableau’s Connected Apps this initial authentication step is carried out however you see fit for your application. You can think of it as the first line of defense. Anyone who makes it past the bouncer or login screen will have a chance to enter the speakeasy or access the Tableau Viz respectively.</p><p>Now, we need to make one modification to this scenario — those who successfully enter the club get a secret that when presented to the bouncer of the speakeasy authenticates their access to additional resources.</p><p>So, once past the bouncer, we make our way to the entrance of the speakeasy. Once there we need to provide our secret. At a speakeasy, you will need to enter a certain code on a payphone, perform the special handshake, present a red rose, or whatever other flavor of <em>secret</em> the speakeasy requests for the night.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*h1s4gtOGEPj1O0K5" /><figcaption>Photo by <a href="https://unsplash.com/@moneyphotos?utm_source=medium&amp;utm_medium=referral">Twitter @ethmessages</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>See, speakeasies don’t have the luxury of holding onto a long list of everyone who should be granted special access. The best they can do is share a secret with you and verify your secret prior to permitting you to enter.</p><h3>How do JWTs streamline authentication?</h3><p>While requiring your authentication mechanism — or bouncer in this scenario — to keep a list of who is allowed to enter versus requiring those attempting to enter to know a secret might seem insignificant — the truth, it’s far from it.</p><p>Let’s look at two scenarios to better understand the significance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8CxczCnHgXEEFEhWEzFYXg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@milenatrifonova?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Milena Trifonova</a> on <a href="https://unsplash.com/s/photos/long-list?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>In the first scenario, the list of who’s allowed to enter is ten million names long. In order to securely authenticate, you need to both store this large list somewhere and perform the look-up for everyone trying to get through the door. This is going to require storage resources, time, and computing power.</p><p>The second scenario is one where you have created multiple speakeasy bouncers — or authentication servers. In this scenario, you need to duplicate the long list and make sure all of the lists are in sync. This is even more complex than the first.</p><p>By simply sharing the secret with everyone who enters the club the speakeasy doesn’t need to keep any lists. All the speakeasy bouncer needs to do is remember the valid secret and verify that those trying to get in do in fact possess the right secret. Therefore, it is this secret that is used to create trust between the patron and the speakeasy bouncer.</p><p>This agreement is essentially how the signature of a JSON Web Token (JWT) verifies that you are who you say you are in Connected Apps.</p><h3>What is a JWT?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ri8W3LSfnLHSFVd-ghUbw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@ilyapavlov?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Ilya Pavlov</a> on <a href="https://unsplash.com/s/photos/json-web-token?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>See, when we build our Connected App we’ll create a JWT. And the JWT includes a signature or a special key. By signing the JWT with this secret, Tableau will be able to verify that you are a permitted user. This is possible because the key is obtained from Tableau and only from Tableau. Therefore, if you are able to present the secret, Tableau can authenticate your access.</p><blockquote>In the most basic terms, JWTs follow an open, industry-standard allowing us to pass encoded data between our web applications and servers.</blockquote><p>JWTs are generally made up of three parts:</p><p>1. Header</p><p>2. Payload</p><p>3. Signature</p><p>The <strong>header</strong> contains metadata about the JWT, such as the algorithm used to encode the JWT and the token type.</p><p>The <strong>payload</strong> contains the key information being transmitted. This is where we add data identifying the Connected App, our Tableau User Name, and some additional information.</p><p>The <strong>signature</strong> is the key ingredient used to build that trust. Our application will sign the JWT with our Connected App secret value and Tableau will attempt to verify our JWT with the same Connected App secret. If the JWT can be successfully verified, Tableau will render our Viz component.</p><h3>In summary</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QRYrbCDXcDmUU9fK66YgAA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@ilyapavlov?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Ilya Pavlov</a> on <a href="https://unsplash.com/s/photos/json-web-token?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>By leveraging JWTs in Connected Apps we are able to:</p><ol><li>Simplify authentication without sacrificing security</li><li>More easily scale our applications</li></ol><h3>Coming up next</h3><p>In our next post on the topic of Connected Apps, we will walk you through the process of creating your own tokens.</p><p>Since there is a bit of setup involved, we decided to make a post focused solely on this process. Now that you understand how the technology works, we will implement it with code.</p><p>So, stay tuned to learn how to create your first Connected App.</p><p><strong><em>Robert Crocker</em></strong><em> is a data visualization engineer at Starschema. He helps data leaders and their teams get the most from Tableau by developing well-designed dashboards, extensions, and embedded solutions. After focusing on business intelligence and data visualization for most of his career, he has recently expanded into software engineering. Connect with Robert on </em><a href="http://linkedin.com/in/robertcrocker"><em>LinkedIn</em></a><em>.</em></p><p><strong>REACH OUT TO STARSCHEMA </strong><a href="https://starschema.com/contact"><strong>HERE</strong></a>:</p><p><a href="https://starschema.com/contact">Contact</a></p><p><strong>READ MORE STORIES FROM STARSCHEMA:</strong></p><ul><li><a href="https://medium.com/starschema-blog/new-dashboard-collaboration-and-security-features-added-to-elements-for-tableau-2ea9592c984d">New Dashboard Collaboration and Security Features Added to Elements for Tableau</a></li><li><a href="https://medium.com/starschema-blog/three-signs-your-bi-dashboard-development-process-needs-help-and-what-to-do-about-it-99879e4eb420">Three Signs Your BI Dashboard Development Process Needs Help — and What to Do about It</a></li><li><a href="https://medium.com/starschema-blog/free-and-open-source-tableau-dashboard-usage-insights-get-started-today-edd5e71d1eaa">Track and Understand Tableau Dashboard Usage with a Free and Open-Source Extension</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16e3e8385ae1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/starschema-blog/streamlined-authentication-with-tableaus-connected-apps-16e3e8385ae1">Streamlined Authentication with Tableau’s Connected Apps</a> was originally published in <a href="https://medium.com/starschema-blog">HCLTech-Starschema Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let me take a selfie!]]></title>
            <link>https://medium.com/@robcrock/let-me-take-a-selfie-d045f20416c0?source=rss-45cce4c30652------2</link>
            <guid isPermaLink="false">https://medium.com/p/d045f20416c0</guid>
            <category><![CDATA[creativity]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[drawing]]></category>
            <category><![CDATA[data-humanism]]></category>
            <dc:creator><![CDATA[Robert Crocker]]></dc:creator>
            <pubDate>Tue, 17 Oct 2017 00:00:00 GMT</pubDate>
            <atom:updated>2017-10-20T15:18:33.409Z</atom:updated>
            <content:encoded><![CDATA[<p>One of my data viz friends, who arguably has THE most enviable domain name, <a href="http://dataviz.love/">dataviz.love</a>, recently introduced me to a fun sketching project. In the project <a href="http://giorgialupi.com/">Giorgia Lupi</a>, master of pretty, personalized data visualizations and more, shares a step-by-step approach we can follow to draw selfies.</p><p>Now, don’t let the lightheartedness of sketching, obscure the deeper point. Giorgia has far more meaningful motives than helping you attract more Insta followers ❤️</p><p>How do I know?</p><p>I know, because Giorgia shares her views in this <a href="https://medium.com/@giorgialupi/data-humanism-the-revolution-will-be-visualized-31486a30dbfb">post</a> and this <a href="https://www.youtube.com/watch?v=rr_P1rdj_Zk">video</a>. There she elaborates on how data visualization and design have the potential to make us more human .</p><p>In the post, we are reminded that<em> “data is primarily human-made. “Data-driven” doesn’t mean “unmistakably true,” and it never did.”</em></p><p>She goes on to encourage us, by saying <em>“we should keep in mind how data can be a powerful tool for all…, bringing stories to life in a visual way and adding structural meaning to our projects.”</em></p><h3>What better story to bring to life than our lives?</h3><p>For attendees of TED 2017 in Toronto, Giorgia’s design agency <a href="https://www.accurat.it/">Accurat</a>, along with <a href="http://davidstarkdesign.com/mobile/">David Stark Design</a>, created a personalized button making framework for attendees.</p><p>Don’t worry; I am feeling the FOMO too. I can only imagine how many people connected on a personal level thanks to these cute, catalysts for conversation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*kxrA9d21E6L8ONiJr1T4Dg.png" /><figcaption>credit: Giorgia Lupi</figcaption></figure><p>The <a href="http://visfest.com/">D3 Unconf</a> shares similar shenanigans with their attendees.</p><p>During registration, you’re asked to create a GIF of any chart you have made with D3. This exercise serves as both a filter to ensure all attendees have used D3, while also providing organizers with something GIFable (is that a real word).</p><p>Here’s <a href="https://www.visualcinnamon.com/">Nadieh Bremer</a>, playing with a badge the Unconf Organizers made from of her <a href="http://www.datasketch.es/july/code/nadieh/">Data Sketches visualization for July</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/534/1*FvcGbnqkpv20nsWkw9BpkA.gif" /><figcaption>Credit: @NadiehBremer</figcaption></figure><p>Thankfully you don’t need a conference or experience with D3 to sketch your selfie. Giorgia Lupi has created a step-by-step, so anyone can make a personalized self-portrait.</p><p>Here’s what I look like on paper.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/454/1*fn_PcGbKRDipGTMVz3RYYA.png" /><figcaption>Credit: @robcrock</figcaption></figure><p>And Ivett…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/454/1*Mx1_nmAD11UhLyhCACm2gQ.png" /><figcaption>Credit: @IvettAlexa</figcaption></figure><p>Thankfully, this isn’t a beauty contest.</p><p>Anyone can play this game. It’s fun for kids, colleagues, classmates, literally anyone with a few colored pencils (or pens) and a piece of paper.</p><p>To get started grab a handful of your preferred drawing utensils. To follow Giorgia’s framework you are going to need a few colors. Of course you can go bare bones with shades of grey, but color’s more fun. At the very least, grab a pack of Crayola off the shelf of the nearest convenient store.</p><p>Here’s step one of Lupi’s <a href="https://ideas.ted.com/how-to-draw-your-own-selfie-using-your-personal-data/">guide</a> to get you going</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*zXbBRyAbJeYC2y95W3ns0g.png" /><figcaption>credit: ideas.ted.com</figcaption></figure><p>In an upcoming post, I’ll share a framework I made up to see myself from another angle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*8zWvJdt1Wm9lq3kmhjwt_w.jpeg" /></figure><p>Call me conceited 😎</p><p>We would love to see your creations! So share your selfies on the socials and mention @giorgialupi, @AccuratStudio, @IvettAlexa and @RobCrock.</p><p>If you’d like to talk data viz, Tableau troubles or world travels simply subscribe to my <a href="https://vizsimply.com/newsletter">newsletter</a>. Every new subscriber a free 30 minute session.</p><p><em>Originally published at </em><a href="https://vizsimply.com/blog/2017/10/17/let-me-take-a-selfie"><em>vizsimply.com</em></a><em> on October 17, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d045f20416c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why are you bursting my bubbles?]]></title>
            <link>https://medium.com/@robcrock/why-are-you-bursting-my-bubbles-4c1242cb09d3?source=rss-45cce4c30652------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c1242cb09d3</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[tableau]]></category>
            <category><![CDATA[packed-bubbles]]></category>
            <category><![CDATA[best-practices]]></category>
            <dc:creator><![CDATA[Robert Crocker]]></dc:creator>
            <pubDate>Thu, 12 Oct 2017 00:00:00 GMT</pubDate>
            <atom:updated>2017-10-16T16:55:35.868Z</atom:updated>
            <content:encoded><![CDATA[<p>MakeoverMonday was an especially special event this week as the digital gathered together at the Tableau Customer Conference for a live makeover in Vegas. As you can imagine this is an exciting opportunity to meet fellow #MakeoverMonday regulars and newbies in real life, but also a challenge yourself to create something presentable within an hour while Andy and Eva looking over your shoulder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*4rMfJ9A50V19IFWgUlhK5g.png" /><figcaption>Credit: @Tableau on Twitter</figcaption></figure><p>Personally, I would rather spend days wondering how I am going to visualize the dataset of the week, play with the numbers a bit and iterate far longer than any sane person.</p><p>In an attempt to test my pain tolerance, I presented what was cobbled together within the time constraint. My work was less than polished, but worse yet… I presented packed bubbles #gasp</p><p>The audience quickly let me know my chart choice was a big no no. Unfortunately I hadn’t realized my mistake prior to ascending the stage stairs to what was sure to be a roast. Instead of defending the chart type I tried to explain what lead me these blocks of bubbles.</p><h3>How did I come up with bubbles?</h3><p>The viz started as a heat map, because I wanted to test a theory. Will a heat map show that the States are getting fatter over time?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*UqBXja9xew0fuG6KHhH-vQ.png" /></figure><p>The heat map is somewhat helpful, but doesn’t quite capture my story. Another problem I had with the squares is how to abstract away the individual states.</p><p>Imagine looking a music festival from the sky. I wanted to get a sense of which obesity / year combos were most common in the way crowds around a stage indicate who’s music is most popular. Don’t ask me why. We only had an hour to come up with something!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/1*YTAwQjBqvKlJZBtaW7Rpwg.png" /></figure><p>To try and visualize the differences between the obesity / year combos better than hues, <a href="https://twitter.com/IvettAlexa">Ivett Kovacs</a> and I changed the colored squares for circles of blue sized by State count.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*JnxuVa0MoBxIbIqqPZyyeQ.png" /></figure><p>This chart did a better job showing the trend toward a fatter America, but we still don’t get a good sense for how many states fall within each intersection.</p><p>In an attempt to show those counts like you might see is a unit chart I threw state onto the detail marks card to get a unit-esque chart. The only difference, which is the biggest downfall of bubble packs is unit charts units have meaningful positions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*FYkqGpbG0aRm6Dp3gJq1cg.png" /></figure><p>Look, we only got an hour to make something meaningful and I put a lot of pressure on myself! How can you expect me to make good decisions?</p><h3>Why did my bubbles get burst?</h3><p>After some reflection on my chart choice, multiple attempts at making the bubbles work and research on the chart type I have to admit… we shouldn’t go using this chart all willy nilly.</p><p><a href="https://www.perceptualedge.com/blog/?p=2523">Stephen Few</a> suggests the problems with packed bubbles stems from the fact position of marks on the screen as well as their position relative to one another is meaningless. But wait, there’s more.</p><p>If challenging comparisons was the only issue with packed bubble, we might write this chart debate off completely.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*zet8rwEKOgKiqfpqPU7O3w.png" /><figcaption>Credit: Interworks</figcaption></figure><p>The example above is more similar to the packed bubbles you’ll find most often and these are even more dangerous than my makeover!</p><p>Often we mess our designs up by doing too much. By sizing and coloring the bubbles above the author suggests users should make comparisons between bubbles and product categories. This may work in cases where the difference is extreme, but the areas of <a href="https://guides.library.duke.edu/datavis/topten">circles are a challenge</a> to accurately compare.</p><p>If you aren’t comfortable saying which product type has the more products, then this chart clearly isn’t working.</p><h3>What can we learn from my bubbles being burst?</h3><ul><li>Randomly positioning points on a screen is no way to make meaningful comparisons. There are reasons certain charts work better than others. Instead of making a bubble chart because you like bubbles, let the information your chart needs to communicate to your users dictate your design decisions.</li><li>Comparing an area of one circle to another is serious cognitive calisthenics. If you do choose to use bubbles then I hope your measures are different enough to stand out like the IPO data below.</li><li>Feedback, even when received on a stage in front of a large, live audience, is valuable. Seek it out. The Tableau community is always game to offer up their constructive criticism to help grow your data viz skills.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*eebl3f8RJoF1PlFvVgH-qg.png" /><figcaption>Credit: The New York Times</figcaption></figure><ul><li>Take your time. Heck, sleep on it if you’re feeling stuck or aren’t happy with your work. Often I wake up after working on a viz for hours with completely new designs in mind or solutions to hard problems. You’ll likely experience the same if you just give your mind a little more time.</li></ul><p>To polish up the viz before submitting to #MakeoverMonday without fearing the bubble pack I cleaned up the story and added some highlight actions you can play with on <a href="https://public.tableau.com/views/MMWeek41/Update?:embed=y&amp;:display_count=yes">Tableau Public.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/0*IMnAonxv0cd6Y0WT." /></figure><p>You can see how others visualized the data differently on the MakeoverMonday <a href="http://www.makeovermonday.co.uk/week-41">site</a>. You can pick up where I left off by downloading my original workbook from <a href="https://public.tableau.com/views/PeriodicTableMap_3/Dashboard1?:embed=y&amp;:display_count=yes">Tableau Public</a>. Be warned there are more mistakes behind the scene you’ll need to address to make an accurate visualization.</p><p>If you would like me to message you every couple weeks with juicy data viz knowledge, sign up for my <a href="https://vizsimply.com/newsletter">newsletter</a>. Lastly, go see what I am tweeting about by following <a href="https://twitter.com/robcrock">@robcrock</a>.</p><p><em>Originally published at </em><a href="https://vizsimply.com/blog/2017/10/12/why-are-you-bursting-my-bubbles"><em>vizsimply.com</em></a><em> on October 12, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c1242cb09d3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Don’t overdo the donuts]]></title>
            <link>https://medium.com/@robcrock/dont-overdo-the-donuts-ebf2878c65e0?source=rss-45cce4c30652------2</link>
            <guid isPermaLink="false">https://medium.com/p/ebf2878c65e0</guid>
            <category><![CDATA[research]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[tableau]]></category>
            <dc:creator><![CDATA[Robert Crocker]]></dc:creator>
            <pubDate>Wed, 04 Oct 2017 11:40:22 GMT</pubDate>
            <atom:updated>2017-10-04T11:40:22.059Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>A lift is my way improving a visualization by isolating one feature that hinders our perception in some way. Data visualization is complex, but that doesn’t mean there aren’t informed approaches anyone can take to make more accessible visualizations. I hope by sharing these bite-size improvements we can learn how to avoid common missteps and better defend our design decisions.</blockquote><h3>Let’s get after it!</h3><p><a href="http://www.nielsen.com/content/dam/nielsenglobal/eu/docs/pdf/Global%20Ingredient%20and%20Out-of-Home%20Dining%20Trends%20Report%20FINAL%20(1).pdf">Week 39</a> of Makeover Monday had us makeover a chart type I have started noticing more and more in the wild. Pies have been around for a <a href="https://research.tableau.com/sites/default/files/Skau-EuroVis-2016.pdf">couple centuries</a>. Donuts are a newer breed. Now I’m starting to see these <strong>nested donuts</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*M5ZvOyEfxZIAMwfU6gsrhg.png" /><figcaption>credit: Nielsen</figcaption></figure><p>My guess is that we have the Apple Watch fitness tracker to thank for their sudden surge in popularity, but don’t quote me on that. Apple is a brand with design clout other organizations will only achieve in their dreams. If they can use nested donuts, then I guess it is okay for me to do so too, right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*S3YJudlXHZ83liqXLy3Fug.png" /></figure><p>No! In this case, more donuts aren’t better. Whenever you visualize data, you want to do so accurately and efficiently. Nesting means each donut will be different sizes. Therefore, two complete donuts will be different sizes even though their values are equal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/205/1*KGRC13am8j4wfvfI2Agikg.png" /></figure><p>To say the same thing differently; let’s look at five nested arcs that are all 48% complete. I have added a couple features to the nested arcs below to make them easier to read.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/205/1*c3BJeDbmRmh4WYe4GKO6VQ.png" /></figure><p>While each arc does line up with the central angle, some arcs have to stretch farther than others. Here is what the same arcs look like without the helpful decoration.</p><p>See how those outer rings bear more visual weight than the inner rings? This means those outer rings get an unfair advantage over the inner rings purely because of the chart choice. None of the values are different.</p><p>Can you imagine how frustrating it would be to defend your orange rings’ widget sales when you know the numbers are equal while all the audience can think of is how much larger the other rings are? Yes, size matters in data viz.</p><p>Are we any better off with bars?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*m9NlwuEHcBkvlCIyQDtdwg.png" /></figure><p>Yes, by unbending those radial bars we allow each bar to share an x-axis, common baseline and stretch no more or less than their neighbors. Not only that, but straight bars are easier for our minds to interpret than arc-length or angle, which is what our brains use to make sense of donut charts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/314/0*xiSC0G7FAuiDkU5_.png" /><figcaption>credit: Tableau Research</figcaption></figure><p>You can see the fully lifted <a href="https://public.tableau.com/views/Barsarebetter/Barsarebetter?:embed=y&amp;:display_count=yes&amp;publish=yes">viz</a> on Tableau Public. This wasn’t my week 39 Makeover Monday submission. You can peak at that <a href="https://public.tableau.com/profile/robert.crocker#!/vizhome/workspace_0/workspace">here</a>. The example below simply illustrates how bars are (usually) better when they aren’t bent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/406/1*ebJ9uEyZxhurLfchE2t58g.png" /></figure><p>Hopefully you learned a thing or two from this quick lift. If you have a chart in need of a lift, get in touch. You can drop me a line at <a href="/service/mailto:robert@vizsimply.com">robert@vizsimply.com</a> to share your struggles. I would love to help!</p><p><em>Originally published at </em><a href="https://vizsimply.com/blog/2017/10/3/bars-are-better-than-arcs-and-heres-why"><em>vizsimply.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ebf2878c65e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to get good at Tableau]]></title>
            <link>https://medium.com/@robcrock/how-to-get-good-at-tableau-a45c01e0d0a0?source=rss-45cce4c30652------2</link>
            <guid isPermaLink="false">https://medium.com/p/a45c01e0d0a0</guid>
            <category><![CDATA[habit-building]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[practice]]></category>
            <category><![CDATA[tableau]]></category>
            <dc:creator><![CDATA[Robert Crocker]]></dc:creator>
            <pubDate>Thu, 28 Sep 2017 04:18:07 GMT</pubDate>
            <atom:updated>2017-09-28T04:18:07.084Z</atom:updated>
            <content:encoded><![CDATA[<p>Getting good at Tableau should not be your goal. In fact, let’s <a href="http://jamesclear.com/goals-systems">forget about goals</a> altogether. We are going to construct a system that works.</p><p>While we’re at it let’s forget about motivation too. Our interest in <strong>doing the thing</strong> ebbs and flows. I wouldn’t want you to put the fate of acquiring Tableau skills on your temperamental interest level.</p><p>Show up consistently and give the task whatever you have at the moment.</p><p>If you want to “get in shape,” then start by going to the gym. Simply show up. Take a walk around the track while you’re there. Jump the rope a couple of times for kicks. Maybe pick up a weight if that all you’ve got that day. Hey, at least you came.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*iwZvmKfMmMXebMAHxnQVYg.png" /></figure><p>The biggest problem with goal setting is that when we miss our deadlines, which will happen, we’re immediately disenchanted by the pursuit. We have fully failed. However, when we set a schedule for ourselves that fits into our lifestyle, we have the mindset of this being a journey and we gain the flexibility to get back on schedule when reality strikes.</p><p>Your ability in the moment will pick up with practice. Every once in awhile the stars will align, and amazingness will manifest in your work, but most often it’ll just be kinda cool 😎</p><p>To make this as easy to pick up as possible we’ll refer to a well-known habit formation cycle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*Z1Qju7FxZGZYBKXcjVAXuw.png" /></figure><ol><li><strong>Cue</strong> Set a calendar reminder for MakeoverMonday every Sunday</li><li><strong>Routine</strong> Read their article. Connect to the data. Ask 1 questions. Create 1 viz.</li><li><strong>Reward</strong> This is personal. Find some special way to appreciate yourself.</li></ol><p>The main inspiration for the writing come from James Clear. In <a href="http://jamesclear.com/habit-guide">How to Build a New Habit</a>, James suggests we choose a reminder from two lists.</p><p>The first list is of those things you do without fail.</p><ul><li>Maybe you shave or put on makeup</li><li>Go to the closet to grab your clothes for the day</li><li>Clean your dishes after dinner</li><li>Unload your backpack or briefcase at the office</li><li>Look both ways before crossing the street (vital when traveling to countries where people drive on a different side of the road)</li></ul><p>The next list will be those things that are done to you.</p><ul><li>Red light stops you at the intersection</li><li>You’re stuck waiting at the train station</li><li>Get a text</li><li>Called to a meeting</li><li>Merge lanes</li></ul><p>Any one of these could be the trigger you need to start a new habit.</p><p>These may be triggers for the habit you didn’t even know you had. For instance, is there anything you do before merging lane or crossing the street? What’s your go to when stopped at a red light?</p><p>If you didn’t notice anything before, you might start to now.</p><p>For example, you could start MakeoverMonday after cleaning the dishes Sunday night. Once done with the dishes sit down and read the associated article. Done. You have started a new habit.</p><p>Eventually, you will link more tasks together such as connecting to the dataset, creating a simple viz and Tweeting it out to the #MakeoverMonday community. But you don’t have to start here. Get the habits going and watch your capacity increase with time. There’s nothing to be gained by blowing your engine out at the starting line.</p><h3>2. KISS (Keep It Stupid Simple)</h3><p>Often the hardest part is getting started, taking the leap, or having the hard conversation.</p><p>Wherever we look, life makes change hard. To succeed we need to reduce the friction to start. As a data viz person I can ask you to think of start tension as cognitive load. The easier you make starting, the more effective you will be.</p><p>You may be familiar with the hack to make running in the morning easier. If you want to run in the morning, go to sleep in your active attire and put your runners right next to the bed so that they’re the first thing your feet touch. If you want to walk more, then start by grabbing a pedometer to count those steps, take the stairs, or go out for lunch instead of staying sat at your desk.</p><p>Maybe you add the Tableau Public icon on your desktop and have a reminder pop up on your phone with a link to <a href="http://www.makeovermonday.co.uk/data/">#MakeoverMonday</a> so you can read the new article as soon as it is published (every Sunday afternoon GMT).</p><p>Linking habits is a powerful way to drive change in your life. So combine clicking through to the article to next step where you download the dataset and connect it to Tableau Public. Lastly, don’t leave Tableau Public until you have published a simple viz and tweeted about it to the community.</p><p><strong>Homework </strong>What trigger, behavior, reward cycle can you craft that’s easier than mine?</p><h3>3. Reward yourself</h3><p>We continue doing the things that make us feel good.</p><p>Positive self-talk is a hack that works for plenty of people. I like writing a daily affirmation and scratching off Pomodoro bubbles in my <a href="https://www.intelligentchange.com/products/the-productivity-planner">Productivity Planner</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*xuwRyH8vtcXNJKLkklaNYQ.png" /></figure><p>The act of rewarding yourself is an acknowledgment of the progress you have made. Researchers have found the feeling of achievement or sense of accomplishment to be extremely powerful in promoting repeated behaviors.</p><p>You should celebrate even the smallest wins. You do deserve a pat on the back! You have taken a serious step toward developing a skill with tremendous positive potential.</p><p>Good on you!</p><p>Forming new habits is great to talk about as if we live our lives in a lab, but that isn’t reality. Things come up. We aren’t in the same place every Sunday, with the same people, or with working WiFi 😭</p><p>The next level of adoption is tied up in your identity. If you identify as a <strong>Tableau pro</strong>, then that belief will influence behaviors leading to your becoming this Tableau pro. If you identify as someone who is never on time, then you will wait until the last minute, let things get in the way without a backup plan and be THAT person who is always late. Hopefully, I didn’t offend anyone with that last remark, but you know it’s true.</p><p>Beliefs are better than goals when forming a new behavior because what you’re trying to do is create a new lifestyle. To successful up-level with Tableau, you must fundamentally believe it’s possible.</p><blockquote><em>“Learning Tableau could be life changing, publishing one public viz for #MakeoverMonday is a new type of lifestyle.”</em></blockquote><p>Often we try to achieve a performance based change without proving to ourselves that we’re the type of person who can change. I started trying to get a side split by telling myself “I have never been flexible.” Guess what, I proved myself right and still don’t look like this picture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*5T8yfeooMWtEAwiJh_qgiA.png" /></figure><p>It’s easier to think of success as a series of small steps repeated, rather than a massive accomplishment. This idea is why breaking big problems down into snack sizes is more productive.</p><p>Even Elon can’t get us to Mars without a few failed experiments. Nor do we go from bumbling around on our bellies to running. We take baby steps until our footing is more sound and run well only after gaining the strength and lung capacity.</p><blockquote><em>““If you plant the right seed in the right spot, it will grow without further coaxing. I believe this is the best metaphor for creating habits.””</em></blockquote><p>— BJ Fogg</p><p>MakeoverMonday is the perfect vehicle to help you craft this habit. So, plant this “seed” in the right routine for your life and watch the Tableau skills grow naturally.</p><p>P.S. Here’s a <a href="https://vizsimply.com/blog/2017/7/22/how-to-give-tableau-a-go">step-by-step</a> to get your environment fully setup for popping out Public vizzes.</p><p><em>Originally published at </em><a href="https://vizsimply.com/blog/2017/8/13/how-to-get-good-at-tableau"><em>vizsimply.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a45c01e0d0a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>