<?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 Zhenan Hong on Medium]]></title>
        <description><![CDATA[Stories by Zhenan Hong on Medium]]></description>
        <link>https://medium.com/@zhenanhong?source=rss-d07c54f96a1b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*DBKnerQv3Rcbmqut.</url>
            <title>Stories by Zhenan Hong on Medium</title>
            <link>https://medium.com/@zhenanhong?source=rss-d07c54f96a1b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 11:59:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zhenanhong/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[Moving design upstream: 2020 year-end review]]></title>
            <link>https://medium.com/design-bootcamp/moving-design-upstream-2020-year-end-review-9a582c4d333b?source=rss-d07c54f96a1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a582c4d333b</guid>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[reflections]]></category>
            <category><![CDATA[2020]]></category>
            <dc:creator><![CDATA[Zhenan Hong]]></dc:creator>
            <pubDate>Thu, 31 Dec 2020 16:59:40 GMT</pubDate>
            <atom:updated>2021-01-01T13:43:02.726Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s another transitioning year in my design career. A lot of uncommon things happened this year: I started my 2nd job in a startup in NYC, We have switched to ‘work from home’ for the most of the year because of the pandemic, I have the chance to work with a group of like-minded product peers and mentors, and finally move one step closer to become a product thinking person.</p><h3>Recap</h3><p>I made a quite significant jump for my last career move in two senses:</p><ol><li>I spent 7 years working in a company’s innovation organization. It was an inspiring experience as I started my career there, and it was a safe and encouraging environment for me to explore different interests and establish various skill sets. I was exposed to Design Thinking and Lean Startup principles, which have a great impact on me. At the end of the 7th year, I made up my mind to step out of my comfort zone and joined a more drastically changing environment — A startup.</li><li>With this opportunity, I switched my focus from font-end prototyping for innovative concepts to UX design for real-world products. I had the chance to apply the principles to products that are being used by customers. It was in this period, I was able to learn and appreciate how different things can become between theory and reality. I realized: I need to move more upstream in the product design process to make a more fundamental impact effectively. I want to think about product design in an earlier stage rather than fixing UX issues for a product feature which may not represent real user needs.</li></ol><h3>This Year: 2020</h3><p>I joined another Fin-tech startup that offers me the opportunity to work closer in a product environment: I got a product designer title, but what’s more exciting is that I am having the opportunity to define product features by discovering real user needs and business problems.</p><h4>Retro</h4><p>At the end of the year, I think it is a good time to reflect on the work I have been doing over the year. As a product designer, I have created 130 user stories as of today (2020/12/31). To learn a bit more insight, I assigned one or more tags to each of the stories. These tags are: UI, Usability, Product Feature, User Flow. There are 170 instances of these tags getting assigned eventually.</p><p><strong>UI </strong>— Visual representations, styles that are consistent with branding. It could be improving existing product components or something new.</p><p><strong>Usability </strong>— Solving some identified user problems, so they they can achieved their goal easier.</p><p><strong>Product Feature</strong> — Adding a non-existing feature to deliver user value, which in turn creates business value.</p><p><strong>User Flow</strong> — Refactoring the path of how users get jobs done, so that they can be more productive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2YJdvuifTN3zLLLEi96spg.png" /><figcaption>I created 130 user stories in 2020, and assigned 170 tags to them in total</figcaption></figure><p>These tags represent the type of work I have done. I am pretty satisfied with the results:</p><p>37% of the user stories are about adding new features that try to deliver user value. I still have to validate them though, at least this is a good sign to begin with. It aligns with my goal in general — spending more time on building the right things instead of fixing things.</p><p>28% of the stories are about usability, which makes ‘jobs to be done’ easier, quicker and more human errors could be avoided. But this could be beneficial only if we make sure those are high frequent activities. Otherwise, time is better spent on other things more critical.</p><h4>Could be better …</h4><p><strong>UI vs Usability</strong><br>Because each story could have multiple tags on it, which tells me some interesting facts: Out of 29 stories with <em>UI</em> tag on it, 55% of them also have the <em>Usability</em> tag. This is good and bad: More than half of the <em>UI</em> stories have <em>Usability</em> as a goal and could be measured by relevant metrics, which is good. But the other 45% UI changes are less measurable. These stories are mostly about fixing some <strong>style inconsistent</strong>, and some are about making it good looking to attract eyeballs. I think this is something I need to improve next year.</p><p><strong>Long vs Short</strong><br>I noticed two types of epics:</p><ol><li>Epics took a long time to complete(could be over 45 days), because there were a lot of feedbacks from internal stakeholders that needed to be addressed before we could release.</li><li>Epics were pretty short (typically 7 days — that’s one dev cycle for our team), and there are some tailing epics were created for the feedback we received from both external and internal stakeholders.</li></ol><p>When I examined the process for the two different epics, I found the discussion was more fruitful and less distractive for those shorter epics than the longer ones. In general, most of the <strong>hesitation</strong> that keeps us from quick release turned out to be unnecessary and overthinking. Instead of seeking perfection, iteration is more effective because facts only exist out of the building. We need to get things out quickly.</p><p><strong>UI vs Usability vs Product Feature vs User Flow ?<br></strong>As I used these tags in retrospect, it helps me to understand what I have done, but provides less guidance on what I should do and justify the importance of why I should be doing it. For example, UI changes could be the outcome of user stories, and it could also be an approach to solve a specific problem. This generic tag doesn’t do much of the justification for me. A better tag should remind me if this is something I should be working on before I even invest the time. And it can help me, in review, to do better planning for the future.</p><h3>2021 Plan</h3><p>I would like to make some adjustments and make some resolution to be achieved in next year:</p><ol><li><strong>Effort allocation</strong><br>Keep spending more time on discovering and defining problems and solve them with <strong><em>first principle thinking</em></strong> instead of only patching the symptoms. Besides doing addition to the product, also think about subtraction: Make things simple, remove features that do not deliver user value or business value.</li><li><strong>Release cadence</strong><br>Don’t try to solve a big problem at once. Decompose the problem, solve smaller ones. Release small, release more. Iteration over perfection.</li><li><strong>Tags<br></strong>Each user story would be assigned with one or more tags: <strong>Admin Productivity, Customer Experience,</strong> <strong>Customer Value. </strong>There are two types of end-users on our platform, so it’s worth distinguishing them with admins (who value work efficiency) and customers (who decide whether they would like to pay us base on the value gained and whether they would like to stay and spread the love base on the overall experience).</li><li><strong>UI consistency <br></strong>As the first designer to join the company, I was too excited to contribute design changes to the product. It is essential for the design and development team to agree to stick to the same UI library, especially We don’t have a dedicated UI/UX designer. This is what I learned from my last job, also as the first designer. However, I overlooked that the company’s products are built with the same UI library but with different versions(e.g. Bootstrap 3 vs Bootstrap 4). A second mistake I made was that I have been creating new UI elements for wire-framing every time. Even though I try to stick to the same style with the existing UI library, I inevitably created some variations each time, which introduces inconsistency over time. For next year, I would like to start creating and maintaining reusable design assets (e.g. Figma components), and make sure it conforms to the same versions the development team is using.</li><li><strong>Stay Healthy</strong><br>This is not a take away from the above retro but I believe that’s the most important lesson we all learn this year. I like a mantra from a fitness app — ‘Discipline sets me free’. Don’t give up the routine of exercising, wish everyone a better and healthier new year!</li></ol><p>— 2020.12.31</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a582c4d333b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/design-bootcamp/moving-design-upstream-2020-year-end-review-9a582c4d333b">Moving design upstream: 2020 year-end review</a> was originally published in <a href="https://medium.com/design-bootcamp">Bootcamp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Design with “Living” building blocks]]></title>
            <link>https://uxdesign.cc/design-with-living-building-blocks-ee58bbac5fe9?source=rss-d07c54f96a1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee58bbac5fe9</guid>
            <category><![CDATA[design-tools]]></category>
            <category><![CDATA[framer-x]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[prototyping]]></category>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[Zhenan Hong]]></dc:creator>
            <pubDate>Mon, 17 Jun 2019 02:08:35 GMT</pubDate>
            <atom:updated>2019-06-17T23:47:41.723Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LoASMv9a4jypOItP" /><figcaption>Photo by <a href="https://unsplash.com/@dreamevile?utm_source=medium&amp;utm_medium=referral">Raphael Koh</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/65/1*quOC-g5kVdXEzElhseaRtA.gif" /></figure><p>In this article, I want to share how to create “living” design building blocks, which enhances the flexibility and productivity of your design, thus leaving more room for creativity.</p><h3>Tools and skills needed</h3><ol><li>An inner voice to design for better user experience at scale</li><li>Basic knowledge of Javascript, HTML, CSS (React will be of great help)</li><li><a href="https://www.framer.com/">Framer X</a></li><li><a href="https://www.netlify.com/">Netlify</a>.com (optional)</li><li>A Macbook (sorry, some tools are not available for PC yet)</li></ol><h3>What is “Living” building block</h3><p>“Living” refers to the following:</p><ol><li>It is interactive and can be animated if needed;</li><li>It can be loaded with data;</li><li>It can be reused and collaborated on;</li><li>It should be the single source of truth to maintain and update;</li></ol><p>The benefits of having living building blocks as our toolset is self-evident: Interactivity enables both designer and user really think about how things work in action; Loading with data enables designer and developer think about the edge cases and user to be tested in realistic business context; Reusability enables you and your team to iterate at high speed; Single source of truth, eliminates maintenance debt, prepares you to scale up your team and product whenever you are ready.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vZe1xQxADju5JrO3zKLOug.png" /><figcaption>Ant Design UI components</figcaption></figure><p>In my previous <a href="https://uxdesign.cc/bridging-the-gap-of-ux-design-and-product-development-in-small-team-8667b39acb0f">article</a>, I have talked about the importance of getting design and develop on the same page to save communication cost. The biggest lesson learned for us is to determine a shared design language from the beginning.</p><p>To quickly recap, as a team, we decided to build on top of an existing UI library for a couple reasons: 1. It is quicker to kickstart the product development — speed is critical factor; 2. We can focus on delivering customer value instead of technology building — focus on our core business; 3. There are a lot of high quality UI libraries which are actively maintained by communities — don’t reinvent the wheel.</p><h3>Limitation of previous workflow</h3><p>Before jumping introducing how to make ‘living’ building blocks. I want to briefly mention the pros and cons of two major tools I used before — Sketch and Codesandbox.io</p><h4>Sketch</h4><p>It is an awesome tool for designers. I can quickly sketch on a canvas to visualize my ideas, share them to other designers, developers or PMs. There are countless plugins for it. If your team is using a well known UI components library, you are very likely to find free design assets for Sketch, which will save your team a ton of time.</p><p>However, it lacks interactivity. You can connect different pages to create user flows but you are not able to describe rich interaction in action. For example, I want to design an input component that lets users select among a given set of options. When the option is not available, users will be prompted to create a new entity from what they have typed in as a new option. In addition, the user also need to specify the type of the new entity, a standard dropdown component doesn’t meet the requirement. So I need to design a customized dropdown to demonstrate the desiring experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*MafvmskauxfPyBdH9L6wSQ.gif" /><figcaption>Customized dropdown experience prototyped in Codesandbox.io</figcaption></figure><p>As you can see, using Sketch or other static visual design tools would not give me the level of richness to describe the desiring interaction. I built this prototype using <a href="https://ant.design/">Ant Design</a> UI components in Codesandbox.io, which saved me a whole page of documentation to communicate my ideas to dev team.</p><h4>Codesandbox.io</h4><p>It is a great prototyping tool to <a href="https://uxdesign.cc/bridging-the-gap-of-ux-design-and-product-development-in-small-team-8667b39acb0f">bridge the gap between design and develop</a>. It enables you to build interactive prototype and natively support loading with data. You can share the same javascript libraries with your dev team.</p><p>However, it is hard to reuse because the prototypes live in different sandboxes, which also cause design version out of sync when the project grows larger.</p><p>Fortunately, we have just updated our toolset to incorporate the “Living” building blocks into our workflow, which addresses the above issues and drastically improves our productivity.</p><h3>Give life to building blocks</h3><p>Now let’s start making a living building block . I will show you how to create a loading icon and reuse it anywhere in your design</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/85/1*jzrcKKV-7-KBV0wdmI0e_Q.gif" /><figcaption>Loading icon</figcaption></figure><h4>Install Framer X</h4><ol><li>You can download Framer X <a href="https://www.framer.com/download/">here</a>. Open a new project → Code→ New → create new component.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WjHKcBBV3hjFfrocKYY9_Q.png" /><figcaption>create code component in Frame X</figcaption></figure><p>2. Name it ‘Icon’, and you will see some template code generated for you. It is now just a square component in canvas. We will enter some javascript code to represent the icon we try to make.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jCb3J0xM3G5ZzdT5BrZGPA.png" /></figure><p>3. Replace the boilerplate with the following code. As you can see, under the hood, Framer X uses React to render components, and in fact you can view a Framer project as a React application. So we can import whatever JS library you like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EE7SV5zx4NFZLj0HUYpyDw.png" /><figcaption>The code to generate an icon that can be rendered by Framer</figcaption></figure><p>You can see there is a red line under “antd”, which is a UI library called Ant Design. It is highlighted because the Framer project doesn’t have this library installed yet. Next, we are going to install it.</p><p>4. Right click “Icon.tsx” on the left → select “Reveal in finder”. You will find this file in a folder called “code”, which resides in a folder called “container”. Open the “container” folder in Terminal. Then type in</p><pre>yarn add antd</pre><p>This will install the Ant Design library in the Framer project, and we are ready to import Ant components into the Framer’s code component by</p><pre>import {Icon} from &quot;antd&quot;</pre><p>Now, we have created an icon with Ant Design’s UI component. It doesn’t have to be Ant Design. You can use Material Design, for example. And you can even set it up in a way that it <a href="https://blog.prototypr.io/bringing-design-system-components-from-production-into-framer-x-786e89be2250">imports production code from your dev team</a>.</p><p>5. The code is synced in real-time. If you click the “components” panel on the left, you will see a component called “MyIcon”, which is ready to be used in the canvas. You can change the size, type, color, etc of the icon based on your needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*u2zJui6qx1UEI66RgASFMw.gif" /><figcaption>Direct manipulate the component on canvas</figcaption></figure><p>You may ask why we have all these properties? They are built-in by Ant Design’s <a href="https://ant.design/components/icon/">Icon component</a>. In the code, we specify these properties so that they can be accessed in Framer.</p><pre>static propertyControls: PropertyControls&lt;Props&gt; = {</pre><pre>size:{ type: ControlType.Number, title: &quot;Size&quot; },</pre><pre>type: { type: ControlType.String, title: &quot;Type&quot; },</pre><pre>color: { type: ControlType.Color, title: &quot;Color&quot; },</pre><pre>twoToneColor: { type: ControlType.Color, title: &quot;TwoToneColor&quot; },</pre><pre>spin: { type: ControlType.Boolean, title: &quot;Spin&quot; },</pre><pre>hasBadge: { type: ControlType.Boolean, title: &quot;hasBadge&quot; },</pre><pre>theme: { type: ControlType.SegmentedEnum, title: &quot;Theme&quot;,options:[&quot;filled&quot;,&quot;outlined&quot;,&quot;twoTone&quot;] }, <br>};<br>}</pre><p>Then we pass the values of the property into the &lt;Icon&gt; component, so that we can control the icon’s looks and feel, animation and interaction from Framer.</p><pre>&lt;Icon</pre><pre>style={{color:<em>this</em>.props.color,fontSize:<em>this</em>.props.size}}</pre><pre>type={<em>this</em>.props.type}</pre><pre>spin={<em>this</em>.props.spin}</pre><pre>twoToneColor={<em>this</em>.props.twoToneColor}</pre><pre>theme={<em>this</em>.props.theme}</pre><pre>/&gt;</pre><h4>Publish in Framer Store</h4><p>Now that we have created our first design component. It is interactive and it could be loaded with real data because it is back by React. But it is not a complete “living” building block yet by our definition. Next, we will make it reusable and easy to maintain and update.</p><ol><li>Go to ‘Store’, where you can publish your own UI library, give your library a name and some description.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QNUua_NKSst4hzA-q9sWwA.png" /></figure><p>2. Click “Publish”. It will become searchable in the Framer store</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0RebfcjEAVM0VNq4sswxrw.png" /></figure><p>3. In any new project, go to Framer store, search the library you just published, install it. Now you will see “Living building block” will show up in your component panel on the left. Drag “MyIcon” into the canvas whenever you need it. Set color, size and any other properties on the right to meet your needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*nMPEIO0nkKFAYATA42bLbg.gif" /></figure><p>Now the icon is available to any other projects. In fact, it is available to anyone in Framer. Your teammate can install the library and start reusing your work. If you need to make changes, just republish your library. An “update” button will appear in those projects that has installed you library. It will sync changes to all of them. This way you can have a single source of truth.</p><h4>Host on Netlify(optional)</h4><p>Once you come up with a prototype, you want to use it to do user testing or share it to your teammates. In Framer X, there is a preview function let you run your prototype locally, but it is easy to share.</p><p>However, Framer makes it easy to export the project as a web application.</p><ol><li>File → Export Web Preview;</li><li>Drag the generated folder and drop it to <a href="https://app.netlify.com/drop">Netlify Drop</a>;</li></ol><p>That’s it. Netlify is hosting your prototype and you can send a link for sharing.</p><h3>Summary</h3><p>The general steps for incorporating “living” building blocks into the workflow:</p><blockquote>1. Create a code component in Framer X;</blockquote><blockquote>2. Import UI library at your preference;</blockquote><blockquote>3. Publish the component to Framer store, update the component as you need;</blockquote><blockquote>4. Reuse the component in any other projects;</blockquote><blockquote>5. Host it on Netlify for sharing</blockquote><p>In my next article, I am planning to share how to leverage this approach to compose higher level components for richer interaction. Or you can let me know what you are most interested in, so that I can talk more about that. Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee58bbac5fe9" width="1" height="1" alt=""><hr><p><a href="https://uxdesign.cc/design-with-living-building-blocks-ee58bbac5fe9">Design with “Living” building blocks</a> was originally published in <a href="https://uxdesign.cc/">UX Collective</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Design with 15.87% error rate]]></title>
            <link>https://medium.com/swlh/design-with-15-87-error-rate-265d0c1fae59?source=rss-d07c54f96a1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/265d0c1fae59</guid>
            <category><![CDATA[evolution]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[growth]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Zhenan Hong]]></dc:creator>
            <pubDate>Sat, 08 Jun 2019 03:19:12 GMT</pubDate>
            <atom:updated>2019-06-08T16:46:34.820Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*ZDGleWUovdRU04O4.jpg" /></figure><h3>Evolve your design with optimal error rate — 15.87%</h3><blockquote>If you are not failing often, you are not trying hard enough.</blockquote><p>During product design reviews, if you always receive positive feedback, you might be not probing enough or you are not asking the right questions, therefore you learn nothing new. According to <a href="https://en.wikipedia.org/wiki/Information_theory">Information Theory</a>, if nothing surprises you, you only get data not information. That’s why every time I walk out of a UX review session with a bunch of “looking great” kind of comments, I will remind myself to stay alert and be aware of confirmation bias. However, if you get overwhelmingly rejecting voices and negative feedback, you might find it frustrating because you think you screw things up.</p><p>I am interested in learning how to get a balance between “not trying hard enough” and “nothing is working for me, I’d better try something else”.</p><h3>Learning in Product Design</h3><p>Consider scenario#1. Suppose you are a product manager or product designer. You have a bunch of assumptions to test in the backlog. In order to get continuous learning, you need to decide how many new features you want to get feedback on every week. Scenario #2, now that you have built a successful product, and you are still innovating. How radical should the updates be for each release?</p><p>Intuitively, I would test as less new stuff as possible to single out the results for causation analysis. And I would be conservative to only make slight incremental changes to avoid screwing up previous success and upset my customers.</p><p>But on the other hand, someone may argue making radical change is the source of innovation, creativity is not likely to come from conventions.</p><blockquote>How hard is not too hard? How radical is not surprising? We might have a scientific answer now — 15.87%.</blockquote><p>According to a <a href="https://www.biorxiv.org/content/biorxiv/early/2018/01/27/255182.full.pdf">paper</a> discussing optimal learning difficulty level for machine learning algorithm, there is a magical number of error rate, with which to feed the algorithm in order for it to achieve optimal learning speed, that is 15.87%. And that seems also working for animals and humans.</p><blockquote>“Eighty Five Percent Rule” for artificial neural networks used in AI and biologically plausible neural networks is also proven to be applicable describe human and animal learning.<a href="https://www.biorxiv.org/content/10.1101/255182v1">[1]</a></blockquote><h3>How AI evolve</h3><p>I am not pretending I know much about machine learning, artificial intelligence. But I am curious about how amazing AI has been breaking records after records in the recent years in different industries. And it has been already applied in <a href="https://www.alibabacloud.com/blog/alibaba-luban-ai-based-graphic-design-tool_594294">design industry</a>[3]. As a designer, I am interested in knowing how AI will impact the future user experience and why they are capable of doing that. How possible is that AlphaZero beat human in chess without learning from humankind’s hundreds of years’ experience but only from learning from itself in 3 days, and became the best player in the world in 40 days [2] .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*MlwJE5cDvc3WL76v_ViERw.gif" /><figcaption>source:<a href="https://deepmind.com/blog/alphago-zero-learning-scratch/">https://deepmind.com/blog/alphago-zero-learning-scratch/</a></figcaption></figure><p>I am not going into the technical details, but in general, in machine learning, human need to provide dataset to train the algorithm against known answers. At each iteration, the algorithm will be told whether it did right or wrong. If it did it right, it will keep the strategy, if not, it will pivot or even turn around. Overtime, it learns to do it with less mistakes until reaching desired accuracy. Sounds familiar? That’s how designers get to the bottom of what users really want, that’s how entrepreneurs search for product market fit.</p><p>In machine learning, steadily increasing the difficulty of training has proven useful for teaching large scale neural networks in a variety of tasks. So the machine also face a question: how difficult should the training dataset be? The answer given by this paper is that</p><blockquote>The optimal error rate for training is 15.87%</blockquote><p>This means, if the algorithm is making mistake 15.87% of the time, it will reach maximum accuracy in the shortest time. If the algorithm makes too less mistakes, for example 5% error rate, which means the training is too easy, it will evolve slower. If the training is too hard, causing the algorithm to make too many mistakes, it will just confuse it and slow down the learning and may never be able to learn anything. For example, in the chart below, yellow represents highest accuracy and blue represents the lowest, with the same1000 trials, algorithm trained with 0.15 error rate reaches maximum accuracy rate whereas algorithm with 0.5 error rate doesn’t move the needle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Izq1R7Pq02xMkB_-gitTFw.png" /><figcaption>source:<a href="https://www.biorxiv.org/content/10.1101/255182v1">https://www.biorxiv.org/content/10.1101/255182v1</a></figcaption></figure><p>Below is just another chart to illustrate the optimal effect of 15.87%. If the same algorithm is trained for the 1000 times, but with different error rate respectively: 0.16, 0.06, 0.36. As you can see, the algorithm with o.16 error rate reach higher relative precision at the end of the trial.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*w54tRcU7YTTUrxBBddaeoA.png" /><figcaption>source:<a href="https://www.biorxiv.org/content/10.1101/255182v1">https://www.biorxiv.org/content/10.1101/255182v1</a></figcaption></figure><p>OK, enough data and charts. So what does this to do with designing products? After all, this is all about learning.</p><h3>What we can learn from AI</h3><p>My first reaction to this “15.87%” rule is that: it is kind of making sense. Forget about the complex calculation behind this paper. If you think about it in common sense, if I learn something too hard it may be frustrating and discouraging, and never know if I am going to make it at all. If I learn something too easy, I might just still in my comfort zone. I may not grow fast enough to catch up with the pace of the world. On the other hand, achieving 85% correct rate is equally important because it would help confirming and reinforcing what has been learned before.</p><p>Now this magic number just gives us an opportunity to quantify not only how hard it is enough but also the sweet spot of hardness. According to the research, this does not only apply to machine learning, but also apply to broader scenarios, such as game design, movie making, language learning. The right level of difficulty makes a game challenging and addicting instead of boring. Carefully plot the twist of a movie creates novelty but avoid becoming totally controversy. Making sure you are exposed to 15% of new vocabulary every time lets you become familiar with your previous learning and also boost the speed of learning.</p><h3>My takeaway</h3><h4>Adding to my design toolset</h4><p>I don’t think we should strictly stick to any design guideline or design principle, because every case is different, and we should derive our design accordingly. However, design principles would provide us some theoretical bases when we are making design decisions. For example, <a href="https://en.wikipedia.org/wiki/Golden_ratio">golden ratio</a> for photographer and graphic designer; <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2864034/">4 item limit</a> working memory capacity for UI and interaction design, <a href="https://www.nngroup.com/articles/why-you-only-need-to-test-with-5-users/">5 user interview rules</a> for UX research. Along with other unquantified design principle like <a href="https://www.nngroup.com/articles/ten-usability-heuristics/">Usability Heuristic</a>, <a href="https://www.interaction-design.org/literature/topics/gestalt-principles">Gestalt Principles</a> they make up of my design toolset. Because there are some many of them, the quantified principles are easier to remember and always bubble through the top of my mind. This 15% rule could potentially help me to decide what percentage of new features should roll out for one release. The next time when I design a user journey, planning 15% percentage of surprising events may be safe to create a sense of serendipity but not freak users out. Again, this is just adding it to one of the toolsets as hammer, I don’t have to see everything as nails.</p><h4>Gauging learning pace</h4><p>I knew that I need to try something hard and something new in order to advance. But I didn’t know in what pace will benefit me in the long run. I once experienced high desire to learn every aspect of design. I read all about design with full capacity everyday but soon discovering I wasn’t improving because a lot of content I consume start to overlap or repeat themself. My brains started to get used to similar topics and became insensitive. I was not getting new ideas, I felt like swimming in a well. Something changed when I started to learn about unrelated topics, my brain started to react to them and always circle back to how these ‘useless’ information could help me in my domain. However, overly spend time on unrelated stuff may become procrastinating. Now the 15% rule provides some guidance on how I allocate my attention and interest. Next time when I make some mistakes, upset some of my users, get some bad reviews, I would remind myself not to worry too much if it is within range, like 15%. Further more, if I am not seeing enough of them, I may make little progress.</p><h3>Summary</h3><p>Human brains certainly work fundamentally different than machines, humans will try to understand and explain what has happened, machines don’t. They just keep trying, until they get the desired results. However, this enables machines to evolve at a speed that humans could never achieve. Getting to know this magical number feels like we time travel to see the result of an experiment which we could not possibly finish in our life time.</p><p>What does 15.87% mean to you? Where could it potentially be applied to? Let me know what you plan to do with this number 🤘</p><p>Reference:</p><p>[1] Robert C. Wilsona,1, Amitai Shenhavb,c, Mark Stracciad , and Jonathan D. Cohene The Eighty Five Percent Rule for Optimal Learning <a href="https://www.biorxiv.org/content/10.1101/255182v1">https://www.biorxiv.org/content/10.1101/255182v1</a></p><p>[2]AlphaGo Zero: Learning from scratch <a href="https://deepmind.com/blog/alphago-zero-learning-scratch/">https://deepmind.com/blog/alphago-zero-learning-scratch/</a></p><p>[3]<a href="https://www.alibabacloud.com/blog/alibaba-luban-ai-based-graphic-design-tool_594294">https://www.alibabacloud.com/blog/alibaba-luban-ai-based-graphic-design-tool_594294</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=265d0c1fae59" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/design-with-15-87-error-rate-265d0c1fae59">Design with 15.87% error rate</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bridging the gap of UX design and product development in small team]]></title>
            <link>https://uxdesign.cc/bridging-the-gap-of-ux-design-and-product-development-in-small-team-8667b39acb0f?source=rss-d07c54f96a1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/8667b39acb0f</guid>
            <category><![CDATA[prototyping]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[ux]]></category>
            <dc:creator><![CDATA[Zhenan Hong]]></dc:creator>
            <pubDate>Mon, 18 Feb 2019 20:04:16 GMT</pubDate>
            <atom:updated>2019-02-20T00:27:58.003Z</atom:updated>
            <content:encoded><![CDATA[<p>In my last article, I have talked about the exciting project in <a href="https://pebblepost.com/">PebblePost</a>: <a href="https://medium.com/@zhenanhong/designing-for-an-information-rich-dashboard-and-concurrent-workflow-fcf7f7286651">Designing for an Information-rich Dashboard and Concurrent Workflow</a>. We have followed a design journey from empathizing with users, generating insights, defining the problems and making assumptions for desiring solutions. We have come a long way with a user-centered approach. However the team also faced some challenges leaping from concept to production.</p><h3>The Challenges</h3><p>Most of the challenges are due to the need to keep up with rapid iteration to stay competitive but with limited development resources. I believe there are various ways to overcome these challenges. However, we found a way that is particular helpful in our product development that I think it’s worth sharing.</p><blockquote>Where to start?</blockquote><p>This is a simple question but an critical one to me, because this is the first time I would design something from ground up. Not like a design project of which the deliverable is to present a concept or improve particular part of a larger system. This time, I would work with engineers to build out the entire thing, from 0 to 1. Then we would iterate to get from 1 to 100 as fast as possible.</p><p>When the initial idea has been validated, a lot of designers cannot wait to open Sketch or whatever favorite tools they have and start drawing UI. After all, that’s the fun part and that’s when we start to deliver design artifacts that makes every designer proud of. As a designer, I personally love this part just like a developer can’t wait to start writing codes. However, if I had taken some time to make cautious decisions on the following questions, the later-on development would be much smoother.</p><p><em>“Are we going to use any design language as foundation? Which one to use?”</em></p><p><em>“What’s the scope of this project? Is it to improve particular workflow/component or is it to layout the blueprint for an entire application?”</em></p><p>“Does the team or any developers has preferred front-end framework in mind?”</p><p>There is no right or wrong answer to these questions. But having discussed them before diving right in will save much more time later on.</p><p>For example, if you are in a small team to develop a web application, you are more likely to build on top of some existing design language such as Material Design, Ant Design, Bootstrap instead of building your own from the beginning. Picking the appropriate design language and sync up with development teams to make sure developers are comfortable to work with the corresponding front-end framework. This will save a ton of work for communication and avoid a lot major expectation mismatches. For instance, if you have blue action button on your UI. In Ant Design, you only need to let your developers know it is a button with type “Primary”. A few line of code without CSS specs will generate the exact blue button you want. It basically serves as a design system which small team doesn’t have the resource to build in the beginning.</p><blockquote>Developer’s implementation does not quite meet your expectation</blockquote><p>A lot of times, developers will start coding base on the mockups designer provided. By not meeting expectation I mean firstly, the implementation did not look exactly the same as the design. Secondly, it did not work as expected. Finally, you may have not considered countless of edge cases whatsoever, and you are guaranteed to see some surprises. If you have taken some time to figure out a decent design language to be shared with designers and developers, the first problem described above would have been solved. However, the actual implementation may still look different than the mockups. Mockups are usually static, the designer may generate multiple mockups for different states, different screen sizes. But edge cases are hard to cover because designers are designing static elements on a canvas tool like Sketch or Illustrator. By nature, it is hard to have a static mockup to represent UI in adaptive and dynamic environments, such as responsive screen size. In this case, if designers only provide mockups, developers will not have enough information and can only guess what designers want.</p><blockquote>Users like the prototypes more than the real production</blockquote><p>Since static mockups have the limitation, we heavily use prototypes, which can simulate how the application render in real environment. We use prototypes to get users’ feedback. Committing engineering resources on unvalidated ideas is a waste and prototyping definitely helps us to avoid that. However, it is tricky that different type of prototypes require different level of effort and derive different results. Low fidelity prototypes can be generated at low cost and it is ideal to communicate some early ideas in an abstract format. User like your prototype and may have nothing bad to said because a lot of details are missing or omitting intentionally, which fails to catch their concerns. As we increase the fidelity of the prototypes, user may start to provide more feedbacks but the cost of creating the prototype also increases, and we start to slow down. Inevitably, a lot of the drawbacks only being exposed when we have developed the real thing. At the time we release the product and ask user to use it, they seems don’t like it as much as the prototypes.</p><p>Though, our goal is not to develop a perfect product with a first hit. And it is not possible to discover all the issues before starting development. However, I think there are still smart ways to identify as much as concerns and problems during the design and prototyping phase with lower cost and shorter time, especially with all the amazing tools available nowadays.</p><h3>How we tackle the problems</h3><p>This approach may not be entirely new, but we figured this works incredibly well with us.</p><h4>1. Stick to a design language from the beginning</h4><p>A lot of open sources design system are maturated and free. In our case, we used Ant Design. Start working off a well established design system enable us to leverage well tested and maintained design language. It gives us the consistency throughout the entire design and development process. It also free us up from struggling with trivial design decisions like the height and width of a button, color and shades of the borders. We can always customize these design preferences later and focus our energy on more critical decisions like how is the information architecture, what does our major user flow look like, how does the user interaction work.</p><p>If you are working with tools like Sketch, AdobeXD, Framer X, you are guaranteed to find a plugin for those major design systems from which you can drag and drop UI components into your project and start architecting your UI layout immediately without drawing low level components like buttons painstakingly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J-ELLobxOQUK8sX356XHKw.png" /><figcaption>Ant Design UI components in Sketch</figcaption></figure><h4>2. Sync with developers with corresponding front-end framework</h4><p>After you have decided which design language to use, the next thing is to work with developers to figure out the best front-end library for development. A design language is just a set of design guidelines and principles. It is up to your team and the business requirements to determine which implementation to use. For example, Google has provided an official front-end framework for Material Design implemented in AngularJS. A third party may also provide a ReactJS implementation for it. Your team should come to an agreement on which framework to use base on your company’s technological stack and business needs. Once the design and development framework has been synced and set up, both designers and developers should feel extra confident for knowing what exactly each other need and expect. They will have more empathy for each others when they are using the same UI elements to construct a user experience.</p><p>More importantly, it is easier to align expectation because they are working with the same design/code base. It is such an efficiency boost when I don’t have to document all the trivial UI specs for developers, but just point them to online documentation of the particular UI element.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/963/1*gIBjnLbg0SnoT0KUcamJuw.png" /><figcaption>Ant Design React UI framework</figcaption></figure><h4>3. Prototype as realistically as possible in cost-effective way</h4><p>We all known the value of prototyping and there are a lot of prototyping solutions out there for generating different type of prototypes. You can use Sketch with InVision to transform static mockups into clickable web pages. You can use Framer X to generate interactive and responsive prototypes that is possible to make it look exactly the same as a real application. But there is limitation: if you need to test user interaction, it is either difficult to test it comprehensively or making the prototype itself gets complicated quickly.</p><p>Today I want to share another amazing prototyping tool that can generate much higher fidelity prototypes. This may need some basic understanding of Javascript. The tool is called Codesandbox.io. Essentially, it is like JSFiddle, but more powerful. It runs a react web application where you can insert a few lines of codes to preview the UI components immediately. In the following example, if you want to prototype a UI with four Ant Design buttons. All you need to do is copy the example code from Ant Design’s documentation website and paste in the JS file in codesandbox:</p><pre>&lt;div&gt;</pre><pre>  &lt;Button type=&quot;primary&quot;&gt;Primary&lt;/Button&gt;</pre><pre>  &lt;Button&gt;Default&lt;/Button&gt;</pre><pre>  &lt;Button type=&quot;dashed&quot;&gt;Dashed&lt;/Button&gt;</pre><pre>  &lt;Button type=&quot;danger&quot;&gt;Danger&lt;/Button&gt;</pre><pre>&lt;/div&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lkwZZ-jJB5VgqlbU8xmqww.png" /><figcaption>Ant Design Button component codes in Codesandbox.io</figcaption></figure><p>That’s it! You will see the rendering in realtime on the right window. Then you what you need to do next is like playing LEGO. You can paste codes of other UI components to construct a more complex UI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aNTSxxE7wD0am2pjRUefFQ.png" /><figcaption>Combine different UI components to construct whatever UI you want</figcaption></figure><p>Since what you see is what you get. You can copy the link in the preview window on the right and send it to users for getting feedback or testing. You can also share it with developers and use it as a live specs documentation.</p><p>We used this approach to generate a lot of prototypes that users don’t even know thats a prototype. We got a lot of valuable learnings when we watch users interacting with them.</p><h3>Summary</h3><p>The major problems I am presenting here are that, (1) It is hard or time consuming to sync up with design and development; (2) Create prototypes help us identify issues before development but it also require a lot of time and resource to build.</p><p>Our solution to these two problems are (1) Make an agreement on a design language to be used throughout the development. (2)Use codesandbox.io as prototyping tools to communicate design to users as well as developers.</p><p>Hope our approaches could be of help to you. Feel free to leave any questions or suggestions, thanks!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F50d69a%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2Fux&amp;image=https%3A%2F%2Fucarecdn.com%2F6e8986c7-e64a-4116-9afb-fd71a476f0a9%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/a19f46680bac3cbdc42953c920d0c104/href">https://medium.com/media/a19f46680bac3cbdc42953c920d0c104/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8667b39acb0f" width="1" height="1" alt=""><hr><p><a href="https://uxdesign.cc/bridging-the-gap-of-ux-design-and-product-development-in-small-team-8667b39acb0f">Bridging the gap of UX design and product development in small team</a> was originally published in <a href="https://uxdesign.cc/">UX Collective</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing for an Information-rich Dashboard and Concurrent Workflow]]></title>
            <link>https://medium.com/@zhenanhong/designing-for-an-information-rich-dashboard-and-concurrent-workflow-fcf7f7286651?source=rss-d07c54f96a1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/fcf7f7286651</guid>
            <category><![CDATA[ui-design]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[dashboard-design]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[workflow]]></category>
            <dc:creator><![CDATA[Zhenan Hong]]></dc:creator>
            <pubDate>Mon, 09 Jul 2018 01:46:12 GMT</pubDate>
            <atom:updated>2019-02-18T20:06:21.918Z</atom:updated>
            <content:encoded><![CDATA[<p>A few months ago, our team in PebblePost set out to rebuild the Programmatic Direct Mail platform from the ground up. This included the backend infrastructure, big data analytical mailing engine and the digital campaign manager user interface, to fulfill the need for business growth. The first version of our platform was so successful, that we outgrew the capabilities and capacities of the entire platform. . Therefore, we took this opportunity to rethink what we need to build to better support the user’s needs and business’s goals. As the lead and solo designer in PebblePost, I want to share the challenges we faced when designing the new version of PDMD(Programmatic Direct Mail Dashboard) and how might we overcame them.</p><p>At PebblePost, we combines the power of digital intent data with the effectiveness of in-home marketing to achieve far higher conversion rates for businesses. We invented <a href="https://pebblepost.com/about-us">Programmatic Direct Mail</a>. There is a great deal of engineering and data science efforts behind the scenes to make this all happen, but here I want to share my work from the perspective of product and UX design for the new version of PDMD.</p><h3><strong>Designing the Dashboard</strong></h3><p>PDMD is not only a dashboard that merely displays data or shows charts. It is a comprehensive digital platform, by which users can organize campaign orders, set up PDM campaigns, manage and optimize campaigns, measure campaign effectiveness. And its capabilities are expanding.</p><h3><strong>The Challenges</strong></h3><p>The uniqueness of PDM is that, instead of relying on static demographic consumer information or third party user data, it captures real-time online intent signal data and translates them into manageable “strategies”, which users can leverage and reuse when setting up campaigns. These strategies are constantly being updated and optimized base on non-stop intent data feeding(the “Programmatic part”) to make sure the in-home marketing media(the “direct mail” part) sent out are sufficiently targeted and delivering the best results.</p><p>While our first minimal viable product has validated the core value proposition and product/market fit. We also identified some missing pieces that are critical for the product to succeed. The new version we are designing is not just an incremental improvement or UI renovation. Based on the grounded learnings of what value we are creating for customers, we are looking for the most appropriate and intuitive UX/UI patterns to present the underlining PDM technology, which has undergone significant overhaul.</p><p>For the new release, we are trying to address three major problems for users</p><blockquote><strong>How might we enhance to productivity?</strong></blockquote><p>With more capabilities comes more control, therefore more effort needed to set up a campaign. It is an expert system with a lot of sophisticated settings. Users need to take time to set up campaigns according to their business goals. The quicker we enable marketers to set up a sophisticated campaign and launch it, the earlier we can prove our value and the more business we can win. One behavior we observed is that users keep cloning campaign setups to save time on repeated entering. But process is tedious and error prone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EYjgaC-Olb17-NzaUpaetw.png" /><figcaption>Users tried to save time by cloning</figcaption></figure><p><strong>Reusable Settings as “Shared Ingredients” to pick from</strong></p><p>The observation of user’s cloning behavior implies there are a lot of repeat use cases for setting up a campaign. For example, users want to set up another campaign, which targets the same consumer segment but in a different time frame. They would clone the whole campaign and only change the date range for it. It saves a lot of time reentering the same information, except that it is dangerous if they may forget to update the offer code accordingly. Sending promotion to consumers with expired offer codes is a big no no.</p><p>Instead of letting user go through a big chunk of settings and rely on cloning repeatedly, we break down campaign setting into reusable pieces. Users can save the configuration of who, when, what, how respectively as “ingredient” in different libraries, then they can browse and pick for the appropriate ones when setting up new campaigns without having to enter repeated information repeatedly. The “ingredients” can be shared to a different “chef” in the same “kitchen” to improve collaboration and productivity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*sw-WNf5qLHe0R9ya5yN6mg.png" /><figcaption>UX Pattern 1: Reusable Components Picker</figcaption></figure><blockquote><strong>How might we streamline the complex workflow?</strong></blockquote><p>To set up a valid campaign, users need to configure the appropriate elements of When, Who, What and How for each one. These elements are interrelated and some of them depend on each other. This nonlinear process usually leads to missing configuration, conflicting settings and resource misuse</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/1*k-9SrgdaVVbHWeZ3CFIU-A.png" /><figcaption>Settings are easy to miss in a non-linear process</figcaption></figure><p><strong>Concurrent workflow and Guided process</strong></p><p>When envisioning this reusable setting solution, we realized that not all “ingredients” are 100% compatible with the new food, some may need minor adjustment before applying. For example, in the PDMD, a “strategy” setting defines a collection of “who” to target, which can be reused by different “flight” settings. The “strategy” itself is composed of different “segments”, which are also reusable settings. Most of the time, users can select strategies and directly apply them to flights. But sometimes, creating a flight is not a linear process. If the user wants to add a new segment to the strategy before apply it to the flight , they have to pause creating the flight, create the segment, add the segment to the strategy, go back to the flight and eventually they can apply that strategy to the flight.</p><p>To simplify the workflow, we imagine the entire workflow can be composed by several linear sub-workflows. These workflows can happen concurrently. Human behaviors are naturally multi-threaded. A chef can prepare other side dishes simultaneously, when they are working on the main dish. The key is to remember the progress of each dish so that they are not missing ingredients or over applying them.</p><p>Firstly, we need to make sure each sub-workflow’s status and context is maintained unambiguously for users so that they can keep track of progress and not get lost.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f66HxLZG4cYX_zU4BUYUlw.png" /><figcaption>UX Pattern 2: Concurrent Workflow</figcaption></figure><p>Secondly, we provide each sub-workflow a step by step guidance this is both beneficial to first-time users and experienced users. The guidance is presented as ordered steps visually but users are also free to jump around. New users can use it to proceed through a new setup more linearly. Experienced users can jump around more freely to check if anything is missing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qiGKboqtJn8rvu1PhVRevw.png" /><figcaption>UX Pattern 3: Guided Process</figcaption></figure><blockquote><strong>How might we lower users’ cognitive burden and prevent mistake?</strong></blockquote><p>The nature of PDM fuels the system with a lot of dynamic information. Data are constantly flowing through the system, big data processing may update the status and state of various elements or resources asynchronously. We believe in data-driven, in which more data points will help users make more informed decisions. However, we don’t want to overwhelm users. How do we effectively display information to help users to make sense of it?</p><p><strong>Signal System: Status, Alert, Confirmation</strong></p><p>DMD enables users to leverage the most up to date information and reusable settings to set up and manage campaigns. However, it inevitably creates dynamics inside the system. For example, a proven effective strategy is likely to shared by many flights. An update made to this strategy will cause a chain of changes to all relevant flights. We need a robust status system to present important states, an alert system to notify users promptly, and a confirmation system to force conscious actions. The goal is to provide users with the most critical information in an unobtrusive way and make users feel that they are in control.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JKb6OEX5Oor7OtZAmpRyNw.png" /><figcaption>UX Pattern 4: Signal System</figcaption></figure><h3>Foundation UX Patterns</h3><p>The goal of our first new release is to test a solution that can let user set up a PDM campaign.</p><p>The typical workflow of setting up a PDM can be as following:</p><ol><li>Build a campaign with existing reusable ingredients (Most straightforward): 1 → 2 → 3 → 4 → 5</li><li>Build a campaign and a strategy concurrently, and apply the strategy to the campaign: 1 → 2 → 3 → 3.1→ 3.2 → 3.3→ 3.4 → 4 → 5</li><li>So on and so forth</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b75OGUcVzx3fBe1NdTbblQ.png" /><figcaption>Setup a PDM campaign</figcaption></figure><p>We want to specifically focus on</p><blockquote>Enhance productivity, Streamline Workflow and Prevent Errors</blockquote><p>To address the challenges above. I drafted 4 foundational UX patterns: <em>Reusable Component Picker, Guided Process, Concurrent Workflow, and Robust Signal System.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yIHd1Xra7BUnmJS2kIIdew.png" /></figure><h3><strong>Next Step</strong></h3><p>Coming up with the design is just the first step. And these solutions are definitely not the only ones. The good news is that we got something functional that users can start testing with and providing feedback on. We keep our iterations lean, agile and continuous. Hopefully, I can share the learnings, experiments and improvement again very soon. Stay tuned!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wlrDgXHdi6hwEyol55jI9g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fcf7f7286651" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing Design]]></title>
            <link>https://medium.com/@zhenanhong/designing-design-cadd6b9cf8fb?source=rss-d07c54f96a1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/cadd6b9cf8fb</guid>
            <category><![CDATA[experience]]></category>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[senses]]></category>
            <dc:creator><![CDATA[Zhenan Hong]]></dc:creator>
            <pubDate>Mon, 28 May 2018 23:47:37 GMT</pubDate>
            <atom:updated>2018-05-28T23:47:37.001Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*lryGf0sdD-bI2kCaWZmnlw.png" /></figure><p>I read an interesting book called <em>Designing Design</em> from Kenya Hara, who’s a Japanese graphic designer. It changes my preconception of this professional</p><p>What about graphic designer? I was always trying to distinguish myself from being viewed as a graphic design. I design for user experience but not pretty graphical user interface. I could not emphasize more on this point when I explain what I do for work. Not that I think pretty interface is not important, but rather I would spend more time in solving real problem and being more practical. I thought design is the science of identifying problems and solving them, whereas graphic designers are more like artists. It turns out the line between art and science is not always clear, especially in the realm of design.</p><p><strong>Designing for communication</strong></p><p>After reading Kenya’s book, I realize he, as a graphic design, has much deeper understanding of people, product and the world. The essential of graphic design is to serve as an effective medium to communicate. It’s not limited to the visual aspect, which is what I thought it was. It needs to consider all aspects of sense and sensibility of human in order to deliver exceptional outcome.</p><blockquote><strong>Awakening Sense</strong></blockquote><p>Kenya uses a metaphor to describe human’s perception system — sense-ware. In UX and product design, we agree that besides functionality, the looks and feels are also important. Products trigger emotional responses are more likely to win users’ heart, and more likely to outshine the defects. So what is “looks and feels”? When we walk into a store and look for a rice cooker to buy, we usually see it’s shape before we learn about its features and capabilities. They are all solving the same problem at similar prices, which one to pick? We probably pick the one that looks right to us. Do we solid use our eyes to make the decision? According Kenya, we are most likely make a decision the first time we make eye contact, but all sense-ware from our body participate in the decision making. It happens so subtly and immediately that we are not even noticing. By only looking at the shape of the rice cooker, all other senses are awaken. We imagine how heavy and how does it feel when we carry the cooker at hand based on the past experience for similar material. We picture the steam coming out of the lid and the scenario of how we use it in our kitchen. We even start to feel like tasting the rice cooked by this product and think about where to put the rice paddle after scooping rice. Our evaluation of a product is the sum of our sensing judgement and the past experience. To gain insights of how people sense products requires paying attention to user’s behavior. A famous example from Muji rice cooker. It is the little lift spot, where a rice paddle can rest on the surface of lid , makes this product a little more thoughtful and more extraordinary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*Xsr8UTZNhSHe0acmcpg2IA.png" /><figcaption>Muji Rice Cooker by Naoto Fukasawa</figcaption></figure><blockquote><strong>Exformation</strong></blockquote><p>If in-formation is the source to make the world known and understood, then, ex-formation is about making the world unknown again. Kenya coined this word to encourage us to look at the world with fresh eyes and minds. Even for the most familiar object, we can discover something unusual. We are getting so used to the environment we are in, yet we not really know it. We take our surroundings for granted that we never try to study them. We look at objects all the time but we’ve probably never seen them. There are a lot of projects themed with catchy verbs like reinventing, reimagining, rethinking and redesigning. To some extent, I do start to think a little more about the topic that is going to be redesigned, but what does it mean? how do redesign? I hope we are not just using these words with high power as marketing tools.</p><p>Kenya provides two examples. One is a redesign project, for which he called for designers to submit redesign proposals for the most common objects in our everyday life, such as match stick, toilet paper, tea bag, pasta. Because the objects to be designed is so “not special” that designers need to make extra effort to unearth the reason to redesign. The result was entertaining and thought provoking: pasta with peculiar shapes, door knobs with shape and texture of an actual human hand, TV remote that will “resurrect” when touched by human. The results mostly turned out very imaginative but not practical, which means the “creative mind” would lose to the “traditional wisdom” in commercialization. But Kenya is very happy with this project. The goal of the project is to ask people to look at objects from unseen angles, and think of product for alternative user scenarios. Even they may not solve real problems, but they call out the unnoticed rationale of everyday products for why they actually work. They become the way they are today through hundreds iterations and survive countless competitions, and all this happened so slowly and gradually that we stop questioning how they become the most optimal way and why. This is why most of the redesign not necessary yield positive impact: they lack of real world iterations. And it is a shame that we may lose the opportunity to leverage what’s already successful and apply to other domains because we don’t understand why they were good. Redesign is not to deliver an alternative piece of known information, but to make something exist unknown and surface our blind spots.</p><p>The other example provided by Kenya is the project done with his students called Exformation. Kenya would pick a topic every year to discuss with his students. The topics should sound familiar to most people, yet people tend to only have rough impressions without further interest to understand the nature of them. For example, on year one, they try to make people have better understanding of a river that runs across a large part of Japan. Another year, they are trying to understand what elements resemble the feeling of vacation. The projects are amazingly interesting that it worth spinning out for another book separately. The general approach Kenya and his students used is to make connections on the object that being studied to something we are more familiar with. For instance, the river I mentioned above is not unheard of to an average Japanese, but not many people has perceptual understanding of it. Because people’s lives don’t have much overlap with the river. One of the design for this project is called “What if the river were a road”. They overlay road images on the river with lanes on it. The upstream looks like an one way street and it gradually grows into a multi-lane high way going downstream. It eventually turns into a parking lot before the river merges into the sea. By just looking at the picture, people can imagine driving on the river and experience the width of different positions and the speed of every turn. People gain perceptual experience of the size and character of the river, and more importantly, people get to know a little more besides the name of the river.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*M8N-KUxNH2C_XqfaIu9TUg.png" /><figcaption>Pages from Kenya Hara’s book — Exformation</figcaption></figure><p>Kenya’s book is absolute inspiring, and I don’t know how to translate what I learn here into UX/Product Design. Or I am not even sure I understand fraction of his philosophy. But what’s important is that it makes me think, it changes the way I look at products, experiences, and the way I think about design.</p><blockquote><strong>Don’t let the brain fill with processed information, experience it</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TC-5YVNYLkQbhPGDEWDQTg.jpeg" /><figcaption>Driving from top of Kilauea Crater to sea side: The experience is so different from looking at photos or watch youtube video</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cadd6b9cf8fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Design Journey Over The Weekend — Service Design Jam NYC]]></title>
            <link>https://medium.com/@zhenanhong/a-design-journey-over-the-weekend-service-design-jam-nyc-becab761b78c?source=rss-d07c54f96a1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/becab761b78c</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[rapid-prototyping]]></category>
            <category><![CDATA[service-design-jam]]></category>
            <dc:creator><![CDATA[Zhenan Hong]]></dc:creator>
            <pubDate>Sat, 07 Apr 2018 22:37:02 GMT</pubDate>
            <atom:updated>2018-04-08T18:43:05.007Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*oXme3ztsJ-ZkHdNV9vDDIg.jpeg" /></figure><p>Last Month, I participated the Service Design Jam in New York City. It was a mini marathon of researching, designing, prototyping and dancing that spanned from the Friday evening to Sunday afternoon. It supposed to be a relaxing and fun collaboration, but also requires quite a bit commitment. Are you going to sacrifice the entire weekend right after a week’s work, and meet with new friends in the Jam to solve some real world problems together? This is the first time I get to participate this type of events and surprisingly I stuck to the end without feeling tired. Actually, by the end of Sunday, I went home with a lot of fresh ideas, exciting thoughts and energetic spirits. Just Like coming back from an amazing escape, fully recharged and ready to jump in next week’s work.</p><p>I want to share some of the takeaways. Some of them are direct observations from the design jam, some are actually questions I have been struggled with but became clearer to me through participating the event.</p><blockquote><strong>What’s your design process?</strong></blockquote><p>The design jam is not mean to teach design, instead it creates an environment for people from different industries with different skill sets, working together to identify problems and solve them. There are mentors providing guidance if the team seems to get lost. There is a lady with marketing background, who looks very interested in learning about design. She’s curious about every methodology and asked many good questions. When we finished the first round of “How might we” brainstorming session, she asked our mentor, “what do we do next? Can you tell me the whole design process?”. Our mentor explained some of the potential design methodologies we can use to help ironing out the puzzles. But she still seemed confused and kept looking for more systematic way to proceed. In act, the whole team was struggling with what to do next.</p><p>I found it always hard to answer this “<strong>What’s your design process</strong>”question. Be it whether in a job interview or just explaining to peers. There are pin-up sessions through out the day for different teams to share their progress. It’s fascinate to see different team had approached their problems from different angles. By looking at those team’s whiteboard, some of them showed clear pathway, step by step, of how they arrived at current stage. Some of them looked a little messy and unorganized, but eventually arrived at couple next steps to work on. Which is the right process? They all make sense. Which is the best way? It depends. Different people have different thought process, under different situations. Different problems may need different approaches to solve. And we need different mind set in different stage of the process. That’s way I found it so hard to answer this question without a context. In this early stage of designing, the team has to deal with ambiguity and uncertainty. We would need to try whatever making sense to explore possibilities. I think that great designers should embrace uncertainty and not only searching for repeated process, but build on existing and and invent new one if necessary as the process unfold.</p><blockquote><strong>Diverge VS Converge, Vague VS Specific</strong></blockquote><p>Right after the theme of this year revealed, our team did a brainstorming session, and generated fruitful of ideas of what might be the problems we are trying to solve. This is a diverge process that we go broad before going deep. We are suppose to come up with a “How might we” statement before going out of the building to do field research. The statement we were agreed on is “How might we enhance people’s entertainment experience, so that they feel more inclusive and being part of the story. The success looks like people actively share their experience in their network”. We then split up the team and went on the street to find the people may have this problem to speak to. We spoke to people here and there, but seemed not coming anywhere close to what we try to validate. Regardless of whether this is a real problem, I think this is an exciting opportunity. But, by looking back, I also think we had make a mistake that not narrowing down the scope and being specific. “Entertainment experience” is too broad to allow us to focus on a specific scenario, therefor, it is so abstract that we were not able to find the right people to speak to.</p><p>I heard a story about drawing. If you are given a blank paper and told to draw a sunset, what would you draw on it? I would probably draw a line to represent the horizon and a circle above the line to represent the sun. It’s that easy. Now let’s do it again. Try to remember the sunset you saw last evening by you home. Now, suddenly, there more detail appears in my head. The clouds that reflecting the sun’s color, the trees waving in the wind, the people walking on the beach relaxing after a busy day. What a beautify and realistic sunset!</p><p>By being specific, articulating the context and narrowing down the scope, it actually help sparking the imagination and discover more details. And it is part of the design thinking. Without a clear scope, we were not able to target a specific group of user. We were not able to paint out a scenario and actually go to the relevant places to observe, talking to people and ask the relevant questions. We were going too broad and lost in focus, not able to converge. A good example, I think, is like “How might we encourage people in long commute to communicate with each other, so that they feel more connected”. It actually describes a scenario and implies a specific group of people, then the team discover invaluable insight by spending time on trains observing and talking to travelers.</p><blockquote><strong>Seeing what is not happening</strong></blockquote><p>The goal of this design jam was to let everyone, with or without design background to experience the entire design cycle, and have fun together. We were not expected to solve the biggest problem in the world. However, we all want to work on something meaningful. The team set out to do research in the field and discover pain points that worth solving. The problem is that identifying pain points is hard, at least not as easy as what the books describe. I read some books that emphasizing the importance of understanding people’s difficulties in doing something and ease the process for them, then you have a product that customers would potentially pay for.</p><p>But pain points are usually hard to surface. Firstly, the most obvious pain points are likely already taken care of. People already tried their best to solve their problems. When we are observing what people are doing, we are not seeing the unprocessed pain points, instead, we are looking at some sort of workarounds, of which people think that is the best way to do it so far. The common result from the research will be like, “people seem pretty happy with their current solutions.” Then, the design project tend to go down the path for an enhanced version of people’s solution. It is not necessary bad, but usually far from being original and making radical improvement. Secondly, people’s behavior may not directly reflect the real pain point. If a person find it very hard to get up early for work, he can try many potential solutions. He can set up more than one alarm, ask a friend to call him up, go to bed early or even take some medicine. But all these solutions are not going to solve the problem fundamentally if the real problem is that he has no passion for his current job. Thirdly, the pain point is not exist yet. In this case, should we still care? Yes! And it is a great opportunity. People not being able to take pictures with their cell phones is never a pain point 20 years ago.</p><p>Not surprisingly, with the limited time, the team did not find anything exciting. All we learned is just confirming what we hypothesized. When I reflected this, I would like to try something different next time: try to see what is not happening. I know doing this is much harder than just saying it. An experienced designer not only observes what is going on, but also detects what should had been happening but did not for some reasons. I think this is the key to solve hidden problems. I also think this is not a design methodology, but an ability resulting from practicing design thinking. It merges into designer’s intuition as he gains experience.</p><blockquote><strong>Start showing instead of talking, start making instead of thinking</strong></blockquote><p>Enough internal reflections. The three points I made above requires a lot mental digestion and practice. However, the most direct benefit I got from the design jam is actually a simple mind set, “Start showing instead of talking, start making instead of thinking”. It is as simple as it reads. Just do it, and magic happens. It is not that showing and making is hard, but we are so used to just talking. We think talking is more convention and more productive because it is realtime. I never realized the showing is so powerful to convey ideas physically and emotionally. Because it is adding more weight and giving more forms to the ideas I am trying to communicate. I used to believe by just thinking, I can iterate in my brain hundreds times and make it real when it is time. In fact, it is never ready in my head. Getting ideas out of the head and into the world is the first step to realize it. Moreover, giving ideas physical forms can enable them to interact with the environment and receiving feedbacks from others, which is a critical way for evolving.</p><p>I kind of heard of these concepts but had never been “forced” to do that. I am so glad that the design jam created a friendly environment to encourage me to actually practice this. Especially for the rapid prototyping part, I never think we can make 10 shitty prototypes in just one hour, taking feedbacks and rapidly iterating to evolve our prototypes.</p><p>Have you prepared to show something(prototypes) in your next meeting?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=becab761b78c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Design and Lean Startup]]></title>
            <link>https://medium.com/@zhenanhong/design-and-lean-startup-1-e2689901e890?source=rss-d07c54f96a1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2689901e890</guid>
            <category><![CDATA[design-thinking]]></category>
            <category><![CDATA[experimentation]]></category>
            <category><![CDATA[lean-startup]]></category>
            <category><![CDATA[prototyping]]></category>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[Zhenan Hong]]></dc:creator>
            <pubDate>Tue, 04 Jul 2017 17:12:04 GMT</pubDate>
            <atom:updated>2018-03-17T22:29:04.574Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*9snu1sIC6Oj95i7QNyb-dg.jpeg" /><figcaption>photo by <a href="https://www.james-parnell.com/author/jamesp"><strong>JAMES PARNELL</strong></a></figcaption></figure><h3><strong>Act On Baby Steps</strong></h3><p>I remember the first time I read about the Lean Startup book by Eric Rise about 6 years ago, I was so excited by the stories described in that book. It was full of inspiring stories about entrepreneurial experimentations. A lot of the stories are so convincing that you probable would say, ‘of cause that’s the way to go!’. However, once I tried to implement some similar approaches for my own projects, I found that it is not that straightforward to run those experimentations. It is even hard to come up with a ‘decent’ assumption at the first place. I was not the only person excited about the Lean Startup mindset. The whole team was excited about it, our VP invited Eric into the room, the Director was up for trying our next project with the lean approaches. That’s good! We got a lot of momentum from the beginning, both politically and functionally. Managers, stakeholders were busy filling out Lean Canvas, identifying critical assumptions. Everything seems to follow the right steps, except that it didn’t feel lean. It’s already a big difference compared to our old approaches, but it just didn’t get us the same “Ah ha” moment that we read from the Lean Startup stories.</p><p>We are debating the “right” assumptions, arguing the “appropriate” way to design the experimentations. But we just didn’t feel like we learn anything new. Anyway, it got to some point we have to launch the experimentation for many reasons, such as to show progress, to avoid waste the prior preparation. After launching, something pivotal started to happen, people are not debating on the results. The team changed the mode from debating to interpreting and automatically started to suggest improvement on next experimentation. We would have save a lot of time of arguing and debating by just launch the experiment earlier. When ideas are still in our heads, we tend to defend them unconsciously. By externalizing ideas into the world, the feedback becomes visible that we recognize our bias or blind spots.</p><p>Acting is so powerful that it triggers chain reaction of a serial next steps and starts a movement. A landing page experiment sounds easy and promising, but the reality might be the opposite once you get your hands on it. The details of the implementation usually hides themselves when they are in abstract format. The level of fidelity to design the page, the tools used to develop the page, the content used to do ads campaigns, such and such. All these nuances and details would force us to think through, make decisions, or even let us challenge the original assumptions. It reminds me about something I read from a book about design thinking.</p><blockquote>The activity of sketching, drawing or modeling provides some of the circumstances by which a designer puts him- or herself into the design situation engages with the exploration of both the problem and it’s solution.</blockquote><p>From my experience, it is hard to design anything just by absorbing information, doing mental exercises and hoping to come up with problem-solution fit. The real problem, hypothesis in Lean Startup methodology, only becomes apparent as we are trying to solve it.</p><p>There are many reasons keep us from actually doing something. We plan as perfect as we can, we redesign before launching and hoping to nail it with “the best shot”. All the procrastination may be rooted from a single source: fear of failure, fear of being judged. The longer we plan, the more we attach ourselves to it, the less we consider it just one baby step out for the never ended iteration.</p><p>What I would have done differently?</p><ol><li>Schedule the first user interview immediately, and it will force us to think what to ask. Not sure about the interview script? No problem! We will learn from the first conversation with user, and it makes us more confident than just having multiple meeting to prepare the interview.</li><li>Don’t debate on assumptions, validate them through experimentations. When we collect some data points from user research, don’t trap in too long in the synthesis process. Try to bring ideas in the heads out into the world, try to prototype the ideas in creative way to get feedback.</li><li>Bring a prototype to the next meeting instead of Powerpoint slides. It doesn’t necessary to be a sophisticated one, it can be as simple as a skit to illustrate the scenario. It forces you to think through hidden details and also provides the team a tangible object to response to.</li><li>Don’t over plan what need to be done by the end of the month. Instead of planning a result, try to think about what are the actions we can start to take today.</li></ol><p>One of my favorite mantras from IDEO, “Don’t get ready, get started!”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2689901e890" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating Map-based visualization using vector tiles]]></title>
            <link>https://medium.com/@zhenanhong/creating-map-based-visualization-using-vector-tiles-dbf55d15a7f?source=rss-d07c54f96a1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbf55d15a7f</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Zhenan Hong]]></dc:creator>
            <pubDate>Fri, 14 Oct 2016 17:09:39 GMT</pubDate>
            <atom:updated>2016-10-14T17:09:39.941Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why vector tiles?</h3><p>Traditionally, maps are created from <a href="http://wiki.openstreetmap.org/wiki/Tiles">raster tiles</a>(image tiles). <a href="http://en.wikipedia.org/wiki/Vector_tiles">Vector tiles</a> are a way to deliver geographic data in small chunks to a browser or other client app. Vector tiles are similar to raster tiles but instead of raster images the data returned is a vector representation of the features in the tile. They contain geometries and metadata — like road names, place names, house numbers — in a compact, structured format.</p><p>Vector tiles have two important advantages over fully rendered image tiles:</p><ul><li>Styling — as vectors, tiles can be styled when requested, allowing for on demand changing styles and programmatically updating</li><li>Size — vector tiles are really small, enabling global high resolution maps, fast map loads, and efficient caching</li></ul><p>A typical vector tile API will look like this</p><pre>http://{API-host-name}.com/version/{z}/{x}/{y}.mvt</pre><h3>Displaying vector tiles on a map</h3><p>There are a couple of mapping libraries that support vector tiles, such as MapboxGL, Mapzen and Leaflet.js. Different libraries provide different sets of APIs but the ideas behind the scenes are some what similar. I will use MapboxGL as example in this article to take you through how to create visualization using vector tiles.</p><ol><li>Include MapboxGL library in your HTML file and call new <strong><em>mapboxgl.Map()</em></strong> to initiate a map instance. This will get you a basic map showing in the browser.</li></ol><pre><em>&lt;!DOCTYPE html&gt;</em><br>&lt;html&gt;<br>&lt;head&gt;<br>    &lt;meta charset=&#39;utf-8&#39; /&gt;<br>    &lt;title&gt;&lt;/title&gt;<br>    &lt;meta name=&#39;viewport&#39; content=&#39;initial-scale=1,maximum-scale=1,user-scalable=no&#39; /&gt;<br>    &lt;script src=&#39;https://api.tiles.mapbox.com/mapbox-gl-js/v0.25.1/mapbox-gl.js&#39;&gt;&lt;/script&gt;<br>    &lt;link href=&#39;https://api.tiles.mapbox.com/mapbox-gl-js/v0.25.1/mapbox-gl.css&#39; rel=&#39;stylesheet&#39; /&gt;<br>    &lt;style&gt;<br>        body { margin:0; padding:0; }<br>        #map { position:absolute; top:0; bottom:0; width:100%; }<br>    &lt;/style&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br><br>&lt;div id=&#39;map&#39;&gt;&lt;/div&gt;<br>&lt;script&gt;<br>mapboxgl.accessToken <em>=</em> &#39;pk.eyJ1IjoiZ3VvZXIyMyIsImEiOiJpYmU5MFp3In0.lm0nc3EaP-b1S6bWFFtjmg&#39;;<br>var map <em>=</em> <strong>new</strong> mapboxgl.Map({<br>    container: &#39;map&#39;, <em>// container id</em><br>    style: &#39;mapbox://styles/mapbox/streets-v9&#39;, <em>//stylesheet location</em><br>    center: [<em>-</em>74.50, 40], <em>// starting position</em><br>    zoom: 9 <em>// starting zoom</em><br>});<br>&lt;/script&gt;<br><br>&lt;/body&gt;<br>&lt;/html&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*6xCkhNh-U-Q76Rqp_3ITrw.png" /><figcaption>A basic map</figcaption></figure><p>2. Add a layer using vector tile API</p><pre>map.on(&#39;load&#39;, function () {<br>    map.addSource(&#39;terrain-data&#39;, {<br>        type: &#39;vector&#39;,<br>        tiles: [&#39;http://{API-host}.com/version/{z}/{x}/{y}.mvt&#39;]<br>    });<br>    map.addLayer({<br>        &quot;id&quot;: &quot;visualization-layer&quot;,<br>        &quot;type&quot;: &quot;fill&quot;,<br>        &quot;source&quot;: &quot;hex&quot;,<br>        &quot;source-layer&quot;: &quot;hex&quot;,<br>        &quot;paint&quot;: {<br>            &quot;fill-color&quot;: &quot;yellow&quot;,<br>            &quot;fill-outline-color&quot;: &quot;rgba(37,37,37,0.5)&quot;<br>        }<br>    });<br>});</pre><p>Let’s break down the code above a little bit. <strong><em>map.addSource()</em></strong> is used to specify the type of tiles and the data source. It uses <strong><em>tiles</em></strong> the tell where the maps should load vector tiles from, which is the vector tile API endpoint in this case. <strong><em>map.addLayer()</em></strong> is used to put a layer on top of the base map. <strong><em>Layer</em></strong> is an abstraction to describe how the vector data is going to be rendered on the map. Put it simple, it controls how the data looks like. So all the styling control will happen in the <strong><em>layer</em></strong> object. I will explain more about it later. Now the code you just saw basically render the data as yellow color filled hexagons on the map.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mix_FutyyJAJ1600ZWgk4g.png" /><figcaption>vector tiles rendered in yellow color</figcaption></figure><h3><strong>Update styles on the fly</strong></h3><p>Now it comes to the interesting part. Let’s change style of the vector tiles without any request to the backend, which means the update will happen on the front-end and its supper fast and smooth.</p><pre>map.setPaintProperty(‘hex’, ‘fill-color’, &#39;green&#39;);</pre><p>With this single line, the hexagons on the map will change to green. Here <strong><em>hex</em></strong> attribute is the name of the layer and other two attributes are self-explanatory.</p><h3>Data-driven Visualization</h3><p>One of the benefits of vector tile is that it carries the data that we need to visualize with on itself and we can access these data quickly through APIs. Data are usually stored in vector tile’s <strong><em>properties</em></strong> attribute. By accessing properties on tiles, we can create more versatile data-driven visualizations. And it can be done by modifying just a few lines:</p><pre>map.addLayer({<br>        &quot;id&quot;: &quot;visualization-layer&quot;,<br>        &quot;type&quot;: &quot;fill&quot;,<br>        &quot;source&quot;: &quot;hex&quot;,<br>        &quot;source-layer&quot;: &quot;hex&quot;,<br>        &quot;paint&quot;: {<br>            &quot;fill-color&quot;: {<br>                property: “value”,<br>                stops: [[-140, “#d7191c”], [-120, “#fdae61”], [-115, “#ffffbf”], [-110, “#a6d96a”], [-100, ‘#1a9641’], [0, ‘#1a9641’]],<br>                type: “interval”<br>              },<br>            &quot;fill-outline-color&quot;: &quot;rgba(37,37,37,0.5)&quot;<br>        }<br>    });</pre><p>The above code changes <strong><em>fill-color</em></strong> from a single string representation of color to an object, which provides more detail description on how to display tiles. <strong><em>Stops</em></strong> is the function to describe how to render the tiles according to the property “<strong><em>value</em></strong>”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GjJtsQbwi0FUcMt8cccrXA.png" /><figcaption>data-driven visualization</figcaption></figure><h3>Querying data from vector tiles</h3><p>Since the data is already with the tiles on browser, it makes sense to query them directly on front-end instead of a back-end service call.</p><ol><li>Query tiles by a point</li></ol><pre>map.on(&#39;click&#39;, function(e: any) {<br>   var features = map.queryRenderedFeatures([e.point.x, e.point.y], { layers: [“hex”] });<br>});</pre><p>For example, this will return the tiles on the location, where user clicks on the map. To retrieve more information in that tile, simply something like <strong><em>feature.properties.value to </em></strong>access the data in it.</p><p>2. Query tiles by an area</p><pre>var features = map.queryRenderedFeatures({ layers: [“hex”] });</pre><p>Using the same API, if you don’t specify a point, you can specify a bounding box. If you leave it blank, it will return all the tiles visible on the screen. This is useful when you need to do some statical calculation but don’t want to initiate a backend API call. To the a simple count, you can do</p><pre>var count = features.length;</pre><p>and that’s it. whenever the viewpoint changes, for example user drag the map to another location, the <strong><em>features</em></strong> will be re-queried and the <strong><em>count</em></strong> will be re-calculated. Then you can do all sorts of real time data dashboard using this technique.</p><h3>Conclusion</h3><p>There are a lot of powerful features provided by vector tiles and how to use it depends on different use cases. Let me know your ideas on how to create the next generation spatial data visualization.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbf55d15a7f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>