<?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 Neo Wang on Medium]]></title>
        <description><![CDATA[Stories by Neo Wang on Medium]]></description>
        <link>https://medium.com/@neoddish?source=rss-e6f8038f67ee------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*EqGSx6KLCVbJ5mDg_qx7-w.jpeg</url>
            <title>Stories by Neo Wang on Medium</title>
            <link>https://medium.com/@neoddish?source=rss-e6f8038f67ee------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 14:59:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@neoddish/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[Introduction to AntV]]></title>
            <link>https://medium.com/antv/introduction-to-antv-af599f4e7e22?source=rss-e6f8038f67ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/af599f4e7e22</guid>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[charts]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Neo Wang]]></dc:creator>
            <pubDate>Fri, 20 Mar 2020 10:25:21 GMT</pubDate>
            <atom:updated>2020-03-20T10:39:32.820Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SisrybOjmFigMw9lg5r3NA.jpeg" /></figure><blockquote>Visit this article on <a href="https://observablehq.com/@jiazhewang/introduction-to-antv">Observable</a> so you can read it interactively!</blockquote><p><a href="https://antv.vision/en"><strong>AntV</strong></a> is an technology brand for data visualization. It contains multiple open source JavaScript libraries to support visualization needs in various fields, including <em>statistical charts</em>, <em>graph visualization</em>, <em>geospatial visualization</em> and even <em>automatic chart recommendation and generation</em>.</p><p>Tested by huge data business in Ant Financial Services Group and Alibaba Group, it can guarantee various data analysis scenarios.</p><p>This notebook will introduce the capabilities of <strong>AntV</strong> in various aspects and show you related demos.</p><p><em>To follow the latest updates of AntV: ✩ Star the repos you are interested in on </em><a href="https://github.com/antvis"><em>GitHub</em></a><em>.</em></p><h3>Statistical Charts</h3><p>AntV supports basic statistical charts with the libraries named <a href="https://g2.antv.vision/en"><strong>G2</strong></a>, <a href="https://g2plot.antv.vision/en"><strong>G2Plot</strong></a>, <a href="https://f2.antv.vision/en"><strong>F2</strong></a>, and <a href="https://github.com/antvis/AVA"><strong>AVA</strong></a>. Feel confused? Don’t worry! We can walk through them quickly.</p><h4>G2 — 📊 Visualization Grammars for Statistical Charts</h4><p><strong>G2</strong> is a JavaScript library that implements <a href="https://www.springer.com/gp/book/9780387245447"><em>the </em><strong><em>G</em></strong><em>rammar of </em><strong><em>G</em></strong><em>raphics</em></a> <em>(Yes, this is the origin of the name “G2”)</em>. These grammars divide graphics into specifications with mappings between data and visual variables, such as color, shape or length.</p><p>Here is a very simple demo: A bar chart by G2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/1*3abxrVCFvKacdjrH6nFZ_A.png" /></figure><p>For example, here is an advanced implementation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*dFXFuR1NLedwd1_W9_NmhA.png" /></figure><blockquote>To learn more about <strong>G2</strong>, visit its <a href="https://g2.antv.vision/en"><strong>website</strong></a> to see more <a href="https://g2.antv.vision/en/examples/gallery"><strong>demos</strong></a>, or star its <a href="https://github.com/antvis/G2"><strong>GitHub repo</strong></a>.</blockquote><p>However, the grammars seem very hard to get started… if you are not a visualization expert. So, we have a “plan B” for wider users.</p><h4>G2Plot — 📈 A Configurable Library Based on G2</h4><p>For beginners, forget about the grammars, <em>configs</em> (or <em>options</em>) are more friendly.</p><p>With <strong>G2Plot</strong>,</p><ol><li>choose a <strong>chart type</strong> (<em>Pie</em>, <em>Bar</em>, <em>Line</em>, <em>Rose</em>, <em>etc.</em>)</li><li>set the <strong>configs</strong></li></ol><p>then you are all done.</p><p>Take a look at this example: a basic rose chart.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*S1Mc2hYIzmdW3BwTSLR0Sg.png" /></figure><blockquote>To learn more about <strong>G2Plot</strong>, visit its <a href="https://g2plot.antv.vision/en"><strong>website</strong></a> to see more <a href="https://g2plot.antv.vision/en/examples/gallery"><strong>demos</strong></a> and <a href="https://g2plot.antv.vision/en/docs/manual/getting-started"><strong>tutorials</strong></a>, or star its <a href="https://github.com/antvis/G2Plot"><strong>GitHub repo</strong></a>.</blockquote><p>To use G2Plot, you don’t have to worry about the grammars, but you still have to learn some “taxonomy”. What chart type to use for a given dataset? What’s the difference between <em>stacked</em> and <em>grouped</em> bar charts?</p><p>To help you stay away from these problems in some cases, we have an “AI” for you!</p><h3>Automatically Recommend &amp; Generate Charts</h3><p>What if… you just drop your dataset and tell what you want to know, and <a href="https://github.com/antvis/AVA"><strong>someone</strong></a> draws the graphics for you!</p><p>Try this: <em>(import the function </em><strong><em>autoChart</em></strong><em> from </em><a href="https://github.com/antvis/AVA/tree/master/packages/chart-advisor"><em>AVA/ChartAdvisor</em></a><em> first)</em></p><blockquote>autoChart(container, data, options);</blockquote><p>💍 <em>ONE LINE TO RULE THEM ALL !!!</em></p><h4>AVA — 🤖 A Framework for Automated Visual Analytics</h4><p><strong>AVA</strong> is a framework and a solution for more convenient visual analytics. It recommends visualization instances by understanding the given dataset and analysis needs.</p><p>Check the following dynamic chart:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*8Kw6PGtfXbUKaPR344vS0g.gif" /></figure><p>AVA is still in the lab and there is a long todo list. Any contribution is welcome!</p><blockquote>To learn more about <strong>AVA</strong>, visit and star its <a href="https://github.com/antvis/AVA"><strong>GitHub repo</strong></a>.</blockquote><h3>Statistical Charts on Mobile</h3><p>Well, sometimes we develop charts on mobile devices. There is a library for optimized <strong>F</strong>ast and <strong>F</strong>lexible experience on mobile — <strong>F2</strong>.</p><h4>F2 — 📱An Elegant Interactive Charting Library for Mobile</h4><p>The following demo illustrates everything.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*rUNrA5StF3S9VPzBotowLg.gif" /></figure><blockquote>To learn more about <strong>F2</strong>, visit its <a href="https://f2.antv.vision/en/"><strong>website</strong></a> to see more <a href="https://f2.antv.vision/en/examples/basic"><strong>demos</strong></a>, or star its <a href="https://github.com/antvis/F2"><strong>GitHub repo</strong></a>.</blockquote><h3>Graphs</h3><p>How about visualizing relations? Those nodes and links in the graph theory?</p><h4>G6 — 🖇️ A Graph Visualization Library</h4><p>If you have ever heard about <a href="https://en.wikipedia.org/wiki/Six_degrees_of_separation"><strong><em>6</em></strong><em> degrees of separation</em></a>, that’s why this <strong>G</strong>raph library was named <strong>G6</strong>.</p><p>Let’s see a simple demo:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*WYfGKH-2NLL9k5NUGeHbgA.gif" /></figure><p>Nodes, links, layout, force, … Nailed it in one library!</p><p>Looking for more advanced and customized example? Here it is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*YcDfmg5vF0MAUlgeGXqsrg.gif" /></figure><blockquote>To learn more about <strong>G6</strong>, visit its <a href="https://g6.antv.vision/en/"><strong>website</strong></a> to see more <a href="https://g6.antv.vision/en/examples/tree/compactBox"><strong>demos</strong></a> and <a href="https://g6.antv.vision/en/docs/manual/introduction"><strong>tutorials</strong></a>, or star its <a href="https://github.com/antvis/G6"><strong>GitHub repo</strong></a>.</blockquote><h3>Graph Edit</h3><p>Wait, maybe you want to DRAW a graph, not to represent one? The tool you are looking for is a graph editor.</p><h4>X6 — 🛠️ A JavaScript Graph Editing Engine</h4><p>Similarly with G6, but this one is for making graph editor.</p><p>Try this playground: (on <a href="https://observablehq.com/@jiazhewang/introduction-to-antv">Observable</a>)</p><ul><li>Drag and Drop</li><li>Select</li><li>Pan and Zoom</li><li>Keyboard Shortcuts:</li><li>delete: ⌫</li><li>undo: ^ctrl/⌘cmd + Z</li><li>redo: ^ctrl/⌘cmd + ⇧shift + Z</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*f5rtSeL6RIitMmmqSVycwg.gif" /></figure><p>X6 is still in the lab. Any contribution is welcome!</p><blockquote>To learn more about <strong>X6</strong>, visit and star its <a href="https://github.com/antvis/x6"><strong>GitHub repo</strong></a>.</blockquote><h3>Geographical Visualization</h3><p>Maps! Of course there are.</p><h4>L7 — 🌎 WebGL-powered Geospatial Visualization Framework</h4><p><strong>L7</strong> relies on Mapbox GL or AMap to render basemaps. It supports the illustration of large-scale maps.</p><p>Check this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*uuMsW2YkhwBgYaBbO03SjQ.png" /></figure><blockquote>To learn more about <strong>L7</strong>, visit its <a href="https://l7.antv.vision/en/"><strong>website</strong></a> to see more <a href="https://l7.antv.vision/en/examples/gallery"><strong>demos</strong></a>, or star its <a href="https://github.com/antvis/L7"><strong>GitHub repo</strong></a>.</blockquote><h3>Products</h3><p>In addition to libraries, AntV also have some out-of-the-box products.</p><h4>ChartCube: Online Charting Tool for both Designers and Developers</h4><p><a href="https://chartcube.alipay.com/"><strong>ChartCube</strong> (chartcube.alipay.com)</a> is an online tool for quick charting that anyone can use with a modern web browser.</p><p>Here is an <a href="https://medium.com/ant-design/new-charting-tool-for-designers-and-developers-chartcube-e60dd8ca061d">article</a> for the details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m5vTeBPe4qhU9TkBP-NMqw.gif" /></figure><h4>Graphin: A React Toolkit for Graph analysis</h4><p>and <strong>Graphin Studio</strong> for Comprehensive Graph Analysis</p><p><a href="https://graphin.antv.vision/en"><strong>Graphin</strong></a> stands for Graph Insight. It’s a toolkit based on G6 and React, that focuses on relational visual analysis. It’s simple, efficient, out of the box.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qEPm0hw7EYp50uoIgbi1Fw.gif" /></figure><h3>The End</h3><p>Again, if you are interested in anything of AntV, visit the official <a href="https://antv.vision/en"><strong>website</strong> (antv.vision)</a> to learn more.</p><p>And also, to follow the latest updates of AntV: ✩ Star the repos on <a href="https://github.com/antvis">GitHub</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af599f4e7e22" width="1" height="1" alt=""><hr><p><a href="https://medium.com/antv/introduction-to-antv-af599f4e7e22">Introduction to AntV</a> was originally published in <a href="https://medium.com/antv">AntV</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[New Charting Tool for Designers and Developers: ChartCube]]></title>
            <link>https://medium.com/ant-design/new-charting-tool-for-designers-and-developers-chartcube-e60dd8ca061d?source=rss-e6f8038f67ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/e60dd8ca061d</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[tools-for-design]]></category>
            <category><![CDATA[charts]]></category>
            <category><![CDATA[frontend]]></category>
            <dc:creator><![CDATA[Neo Wang]]></dc:creator>
            <pubDate>Fri, 29 Nov 2019 07:23:08 GMT</pubDate>
            <atom:updated>2019-11-29T07:23:08.309Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wmq4m-_MgAEqQNig8iKasQ.png" /></figure><p>Chart making — this most common but varied demand is often troublesome because of the occlusion of the tool’s field.</p><p>Although designers can draw any form of chart, they are often tired of endless modifying for changes of data; although analysts can skillfully make charts using office software, they may be frustrated because static images cannot interact; although programmers can code highly interactive charts, it takes their a long time to learn how to use the code libraries. What makes you feel frustrated when making a simple chart is usually a shallow threshold. This threshold may be “how the legend is misaligned”, or “how the data is converted”, or “what chart should I use to analyze this senario”… Which one is bothering you?</p><p>For these demand, AntV, the data visualization team of Ant Financial, has published an online chart making tool called ChartCube.</p><p><em>Try it: </em><a href="https://chartcube.alipay.com/"><em>chartcube.alipay.com</em></a></p><h3>ChartCube: One-Stop Chart Maker</h3><p>ChartCube is an online tool for quick charting that anyone can use with a modern web browser.</p><p>No matter who you are, you can use it. You can totally do not know how to handle the data, you can be a newbie in chart library, you do not need to write a single line of code. With the most intuitive interaction, you can create the charts you need.</p><p>No matter what you want to do with your chart, you can use it. Maybe you want to make an illustration of your operational article, maybe you need a data that meets the format requirements, and even you need a code that can be embedded directly into the webpage… ChartCube can support.</p><h3>Features</h3><ul><li><strong>Unambiguous Taxonomy</strong> — Choose the most suitable chart type according to analysis purposes and style requirements.</li><li><strong>Powerful Configuration</strong> — We offer the most friendly implementation for both quick configuratin and in-depth setting.</li><li><strong>Comprehensive Exports </strong>— Various types of exports: images, data, and configuration files. Even, copy the code with just a click.</li></ul><p>The process of making a chart with ChartCube is very simple. Usually you need three steps: select the chart, configure the chart, and export the chart.</p><h3>Step 1: Choose Chart Type</h3><p>The purpose of visualization is to gain insights from the data and to support decision making. Incorrect chart selection is likely to cause losses. ChartCube provides a variety of filtering methods to help you quickly find the type of chart that best suits your analysis requirement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qK3rqJPC2jCbfevuBDWxAw.png" /></figure><h3>Step 2: Configure Chart</h3><p>Set your chart with “chart”, “data” and “configuration” panels, which are connected by each other. No matter how you what to modify your chart, you can quickly find the way to do it. Hate to get lost in the data cells? Try drag the graphic elements on the chart panel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4M6E5TvOAgqq4Secex0G1A.png" /></figure><p>For example, you need to modify the height of a column. Engineers may think from the data, open the data panel, find the corresponding cell, and change the value. Designers may start from the graphics, select a column in the chart panel, and drag the height of the column directly through the anchor point that appears at this time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*66f_eJ3KMKRXHa1FmqdSIw.gif" /></figure><p>You can change data and configuration items by interacting directly with the graphics. This is “Shape2Data”, the unique ability of ChartCube to change data through shape. It has greatly improved the possibilities of prototyping, design drafting, and infographic production.</p><h3>Step 3: Export Images, Data, Code…</h3><p>Images, data, code, configurations…Well, you may want them all. ChartCube provides a variety of export results, no matter what you are going to do with the chart, just take them away!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HinTDZOkSYWDGxy0dKbKgw.png" /></figure><h3>Exported Code in G2Plot</h3><p>AntV G2Plot is a general-purpose JavaScript chart library that works out of the box, easy to configure, and has a good visual and interactive experience. It works with simple JSON configuration just like a lot poplular JavaScript chart libraries. However, it is based on AntV G2 which implements the theory of Grammar of Graphics so that the graphics could be more flexible and extendable.</p><p>There are three things that G2Plot wants to do:</p><ol><li>It is easy for users to create elegant and beautiful charts without being a visualization expert.</li><li>Ensure that the chart can withstand the test of the business, and still easy to use in the real scene.</li><li>Explore more possibilities for statistical charts to make them more fun and cool.</li></ol><p>Here is a very clean code example for a styled stacked column chart in G2Plot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2mHprvH4spCAkowA6xdZdQ.png" /></figure><pre>import { StackColumn } from &quot;@antv/g2plot&quot;;</pre><pre>const data = [<br>  { year: &quot;2006&quot;, type: &quot;redDeliciou&quot;, value: 10 },<br>  { year: &quot;2006&quot;, type: &quot;mcintosh&quot;, value: 15 },<br>  { year: &quot;2006&quot;, type: &quot;oranges&quot;, value: 9 },<br>  { year: &quot;2006&quot;, type: &quot;pears&quot;, value: 6 },<br>  { year: &quot;2007&quot;, type: &quot;redDeliciou&quot;, value: 12 },<br>  { year: &quot;2007&quot;, type: &quot;mcintosh&quot;, value: 18 },<br>  { year: &quot;2007&quot;, type: &quot;oranges&quot;, value: 9 },<br>  { year: &quot;2007&quot;, type: &quot;pears&quot;, value: 4 },<br>  { year: &quot;2008&quot;, type: &quot;redDeliciou&quot;, value: 5 },<br>  { year: &quot;2008&quot;, type: &quot;mcintosh&quot;, value: 20 },<br>  { year: &quot;2008&quot;, type: &quot;oranges&quot;, value: 8 },<br>  { year: &quot;2008&quot;, type: &quot;pears&quot;, value: 2 },<br>  { year: &quot;2009&quot;, type: &quot;redDeliciou&quot;, value: 1 },<br>  { year: &quot;2009&quot;, type: &quot;mcintosh&quot;, value: 15 },<br>  { year: &quot;2009&quot;, type: &quot;oranges&quot;, value: 5 },<br>  { year: &quot;2009&quot;, type: &quot;pears&quot;, value: 4 },<br>  { year: &quot;2010&quot;, type: &quot;redDeliciou&quot;, value: 2 },<br>  { year: &quot;2010&quot;, type: &quot;mcintosh&quot;, value: 10 },<br>  { year: &quot;2010&quot;, type: &quot;oranges&quot;, value: 4 },<br>  { year: &quot;2010&quot;, type: &quot;pears&quot;, value: 2 },<br>  { year: &quot;2011&quot;, type: &quot;redDeliciou&quot;, value: 3 },<br>  { year: &quot;2011&quot;, type: &quot;mcintosh&quot;, value: 12 },<br>  { year: &quot;2011&quot;, type: &quot;oranges&quot;, value: 6 },<br>  { year: &quot;2011&quot;, type: &quot;pears&quot;, value: 3 },<br>  { year: &quot;2012&quot;, type: &quot;redDeliciou&quot;, value: 4 },<br>  { year: &quot;2012&quot;, type: &quot;mcintosh&quot;, value: 15 },<br>  { year: &quot;2012&quot;, type: &quot;oranges&quot;, value: 8 },<br>  { year: &quot;2012&quot;, type: &quot;pears&quot;, value: 1 },<br>  { year: &quot;2013&quot;, type: &quot;redDeliciou&quot;, value: 6 },<br>  { year: &quot;2013&quot;, type: &quot;mcintosh&quot;, value: 11 },<br>  { year: &quot;2013&quot;, type: &quot;oranges&quot;, value: 9 },<br>  { year: &quot;2013&quot;, type: &quot;pears&quot;, value: 4 },<br>  { year: &quot;2014&quot;, type: &quot;redDeliciou&quot;, value: 10 },<br>  { year: &quot;2014&quot;, type: &quot;mcintosh&quot;, value: 13 },<br>  { year: &quot;2014&quot;, type: &quot;oranges&quot;, value: 9 },<br>  { year: &quot;2014&quot;, type: &quot;pears&quot;, value: 5 }<br>];</pre><pre>const columnPlot = new StackColumn(document.getElementById(&quot;container&quot;), {<br>  forceFit: true,<br>  title: {<br>    visible: true,<br>    text: &quot;stacked column&quot;<br>  },<br>  width: 600,<br>  height: 400,<br>  padding: &quot;auto&quot;,<br>  data,<br>  xField: &quot;year&quot;,<br>  yField: &quot;value&quot;,<br>  yAxis: {<br>    min: 0<br>  },<br>  label: {<br>    visible: false<br>  },<br>  stackField: &quot;type&quot;,<br>  connectedArea: {<br>    visible: true,<br>    triggerOn: false<br>  }<br>});columnPlot.render();</pre><p>You can see the structure of code is quite neatly divided into three parts: data, configs and a render.</p><p>To learn more about G2Plot, just check its offical <a href="https://g2plot.antv.vision/en">website</a> and <a href="https://g2plot.antv.vision/en/docs/manual/introduction">doc</a>.</p><h3>Kitchen For Designers</h3><p>For designers who use Sketch, there is a Sketch plugin called <a href="https://kitchen.alipay.com/">Kitchen</a>. The ability of Shape2Data is also embedded in it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wf6iKpr1sZI-GAzFRqgRmg.gif" /></figure><h3>and So More Things…</h3><p>If you never heard about AntV, you would be surprised when finding so many useful products on AntV offical website:</p><ul><li><a href="https://g2.antv.vision/en/">G2</a> — based on grammar of graphics, a set of data-driven, highly interactive data visualization solutions.</li><li><a href="https://g.antv.vision/en/">G</a> — a canvas library which providing 2d draw for G2 &amp; G6.</li><li><a href="https://l7.antv.vision/en/">L7</a> — large-scale WebGL-powered Geospatial Data Visualization</li><li><a href="https://f2.antv.vision/en">F2</a> — an elegant, interactive and flexible charting library for mobile.</li><li><a href="https://g6.antv.vision/en">G6</a> — a simple, easy-to-use, comprehensive graph visualization engine.</li><li><a href="https://graphin.antv.vision/en">Graphin</a> — a react toolkit for graph analysis based on G6.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e60dd8ca061d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ant-design/new-charting-tool-for-designers-and-developers-chartcube-e60dd8ca061d">New Charting Tool for Designers and Developers: ChartCube</a> was originally published in <a href="https://medium.com/ant-design">Ant Design</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AntV ChartCube: One-Stop Online Chart Maker]]></title>
            <link>https://medium.com/antv/antv-chartcube-one-stop-online-chart-maker-97d22bff1b1e?source=rss-e6f8038f67ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/97d22bff1b1e</guid>
            <category><![CDATA[charts]]></category>
            <category><![CDATA[antv]]></category>
            <category><![CDATA[chartcube]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Neo Wang]]></dc:creator>
            <pubDate>Fri, 22 Nov 2019 08:52:38 GMT</pubDate>
            <atom:updated>2019-11-29T07:16:29.749Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gPJzhG1uL6lVg3xUWrk-RQ.jpeg" /></figure><p>Chart making — this most common but varied demand is often troublesome because of the occlusion of the tool’s field. Although designers can draw any form of chart, they are often tired of endless modifying for changes of data; although analysts can skillfully make charts using office software, they may be frustrated because static images cannot interact; although programmers can code highly interactive charts, it takes their a long time to learn how to use the code libraries. What makes you feel frustrated when making a simple chart is usually a shallow threshold. This threshold may be “how the legend is misaligned”, or “how the data is converted”, or “what chart should I use to analyze this senario”… Which one is bothering you?</p><p>For these demand, AntV, the data visualization team of Ant Financial, has published an online chart making tool called ChartCube.</p><p><em>Try it: </em><a href="https://chartcube.alipay.com/"><em>chartcube.alipay.com</em></a></p><h3>ChartCube: One-Stop Chart Maker</h3><p>ChartCube is an online tool for quick charting that anyone can use with a modern web browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8hvg80xZmicK6vVy.gif" /></figure><p>No matter who you are, you can use it. You can totally do not know how to handle the data, you can be a newbie in chart library, you do not need to write a single line of code. With the most intuitive interaction, you can create the charts you need.</p><p>No matter what you want to do with your chart, you can use it. Maybe you want to make an illustration of your operational article, maybe you need a data that meets the format requirements, and even you need a code that can be embedded directly into the webpage… ChartCube can support.</p><h3>Features</h3><ul><li><strong>Unambiguous Taxonomy</strong> — Choose the most suitable chart type according to analysis purposes and style requirements.</li><li><strong>Powerful Configuration</strong>— We offer the most friendly implementation for both quick configuratin and in-depth setting.</li><li><strong>Comprehensive Exports </strong>— Various types of exports: images, data, and configuration files. Even, copy the code with just a click.</li></ul><p>The process of making a chart with ChartCube is very simple. Usually you need three steps: select the chart, configure the chart, and export the chart.</p><h3>Step 1: Choose Chart Type</h3><p>The purpose of visualization is to gain insights from the data and to support decision making. Incorrect chart selection is likely to cause losses. ChartCube provides a variety of filtering methods to help you quickly find the type of chart that best suits your analysis requirement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZCPBNBpSaTwNIxay" /></figure><h3>Step 2: Configure Chart</h3><p>Set your chart with “chart”, “data” and “configuration” panels, which are connected by each other. No matter how you what to modify your chart, you can quickly find the way to do it. Hate to get lost in the data cells? Try drag the graphic elements on the chart panel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*s-Yk4EfLVjqa6ocZ" /></figure><p>For example, you need to modify the height of a column. Engineers may think from the data, open the data panel, find the corresponding cell, and change the value. Designers may start from the graphics, select a column in the chart panel, and drag the height of the column directly through the anchor point that appears at this time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MbA7fQQIswJ7UGaO.gif" /></figure><p>You can change data and configuration items by interacting directly with the graphics. This is “Shape2Data”, the unique ability of ChartCube to change data through shape. It has greatly improved the possibilities of prototyping, design drafting, and infographic production.</p><h3>Step 3: Export Images, Data, Code…</h3><p>Images, data, code, configurations…Well, you may want them all. ChartCube provides a variety of export results, no matter what you are going to do with the chart, just take them away!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ePKcU05a5c75Ef_4" /></figure><h3>Exported Code in G2Plot</h3><p>AntV G2Plot is a general-purpose JavaScript chart library that works out of the box, easy to configure, and has a good visual and interactive experience. It works with simple JSON configuration just like a lot poplular JavaScript chart libraries. However, it is based on AntV G2 which implements the theory of Grammar of Graphics so that the graphics could be more flexible and extendable.</p><p>There are three things that G2Plot wants to do:</p><ol><li>It is easy for users to create elegant and beautiful charts without being a visualization expert.</li><li>Ensure that the chart can withstand the test of the business, and still easy to use in the real scene.</li><li>Explore more possibilities for statistical charts to make them more fun and cool.</li></ol><p>Here is a very clean code example for a styled stacked column chart in G2Plot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XT7_rC6aQFTmDuNn.png" /></figure><pre>import { StackColumn } from &quot;@antv/g2plot&quot;;</pre><pre>const data = [<br>  { year: &quot;2006&quot;, type: &quot;redDeliciou&quot;, value: 10 },<br>  { year: &quot;2006&quot;, type: &quot;mcintosh&quot;, value: 15 },<br>  { year: &quot;2006&quot;, type: &quot;oranges&quot;, value: 9 },<br>  { year: &quot;2006&quot;, type: &quot;pears&quot;, value: 6 },<br>  { year: &quot;2007&quot;, type: &quot;redDeliciou&quot;, value: 12 },<br>  { year: &quot;2007&quot;, type: &quot;mcintosh&quot;, value: 18 },<br>  { year: &quot;2007&quot;, type: &quot;oranges&quot;, value: 9 },<br>  { year: &quot;2007&quot;, type: &quot;pears&quot;, value: 4 },<br>  { year: &quot;2008&quot;, type: &quot;redDeliciou&quot;, value: 5 },<br>  { year: &quot;2008&quot;, type: &quot;mcintosh&quot;, value: 20 },<br>  { year: &quot;2008&quot;, type: &quot;oranges&quot;, value: 8 },<br>  { year: &quot;2008&quot;, type: &quot;pears&quot;, value: 2 },<br>  { year: &quot;2009&quot;, type: &quot;redDeliciou&quot;, value: 1 },<br>  { year: &quot;2009&quot;, type: &quot;mcintosh&quot;, value: 15 },<br>  { year: &quot;2009&quot;, type: &quot;oranges&quot;, value: 5 },<br>  { year: &quot;2009&quot;, type: &quot;pears&quot;, value: 4 },<br>  { year: &quot;2010&quot;, type: &quot;redDeliciou&quot;, value: 2 },<br>  { year: &quot;2010&quot;, type: &quot;mcintosh&quot;, value: 10 },<br>  { year: &quot;2010&quot;, type: &quot;oranges&quot;, value: 4 },<br>  { year: &quot;2010&quot;, type: &quot;pears&quot;, value: 2 },<br>  { year: &quot;2011&quot;, type: &quot;redDeliciou&quot;, value: 3 },<br>  { year: &quot;2011&quot;, type: &quot;mcintosh&quot;, value: 12 },<br>  { year: &quot;2011&quot;, type: &quot;oranges&quot;, value: 6 },<br>  { year: &quot;2011&quot;, type: &quot;pears&quot;, value: 3 },<br>  { year: &quot;2012&quot;, type: &quot;redDeliciou&quot;, value: 4 },<br>  { year: &quot;2012&quot;, type: &quot;mcintosh&quot;, value: 15 },<br>  { year: &quot;2012&quot;, type: &quot;oranges&quot;, value: 8 },<br>  { year: &quot;2012&quot;, type: &quot;pears&quot;, value: 1 },<br>  { year: &quot;2013&quot;, type: &quot;redDeliciou&quot;, value: 6 },<br>  { year: &quot;2013&quot;, type: &quot;mcintosh&quot;, value: 11 },<br>  { year: &quot;2013&quot;, type: &quot;oranges&quot;, value: 9 },<br>  { year: &quot;2013&quot;, type: &quot;pears&quot;, value: 4 },<br>  { year: &quot;2014&quot;, type: &quot;redDeliciou&quot;, value: 10 },<br>  { year: &quot;2014&quot;, type: &quot;mcintosh&quot;, value: 13 },<br>  { year: &quot;2014&quot;, type: &quot;oranges&quot;, value: 9 },<br>  { year: &quot;2014&quot;, type: &quot;pears&quot;, value: 5 }<br>];</pre><pre>const columnPlot = new StackColumn(document.getElementById(&quot;container&quot;), {<br>  forceFit: true,<br>  title: {<br>    visible: true,<br>    text: &quot;stacked column&quot;<br>  },<br>  width: 600,<br>  height: 400,<br>  padding: &quot;auto&quot;,<br>  data,<br>  xField: &quot;year&quot;,<br>  yField: &quot;value&quot;,<br>  yAxis: {<br>    min: 0<br>  },<br>  label: {<br>    visible: false<br>  },<br>  stackField: &quot;type&quot;,<br>  connectedArea: {<br>    visible: true,<br>    triggerOn: false<br>  }<br>});</pre><pre>columnPlot.render();</pre><p>You can see the structure of code is quite neatly divided into three parts: data, configs and a render.</p><p>To learn more about G2Plot, just check its offical <a href="https://g2plot.antv.vision/en">website</a> and <a href="https://g2plot.antv.vision/en/docs/manual/introduction">doc</a>.</p><h3>and So More Things…</h3><p>If you never heard about AntV, you would be surprised when finding so many useful products on AntV offical website:</p><ul><li><a href="https://g2.antv.vision/en/">G2</a> — based on grammar of graphics, a set of data-driven, highly interactive data visualization solutions.</li><li><a href="https://g.antv.vision/en/">G</a> — a canvas library which providing 2d draw for G2 &amp; G6.</li><li><a href="https://l7.antv.vision/en/">L7</a> — large-scale WebGL-powered Geospatial Data Visualization</li><li><a href="https://f2.antv.vision/en">F2</a> — an elegant, interactive and flexible charting library for mobile.</li><li><a href="https://g6.antv.vision/en">G6</a> — a simple, easy-to-use, comprehensive graph visualization engine.</li><li><a href="https://graphin.antv.vision/en">Graphin</a> — a react toolkit for graph analysis based on G6.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97d22bff1b1e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/antv/antv-chartcube-one-stop-online-chart-maker-97d22bff1b1e">AntV ChartCube: One-Stop Online Chart Maker</a> was originally published in <a href="https://medium.com/antv">AntV</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to SSH Keys]]></title>
            <link>https://medium.com/@neoddish/introduction-to-ssh-keys-eee329d9e440?source=rss-e6f8038f67ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/eee329d9e440</guid>
            <category><![CDATA[servers]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[ssh]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Neo Wang]]></dc:creator>
            <pubDate>Sun, 08 Jul 2018 19:42:13 GMT</pubDate>
            <atom:updated>2018-07-08T19:42:13.508Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>SSH (Secure SHell)</strong> is an <em>encrypted protocol</em> for administering and communicating with servers[1]. <strong>SSH key</strong> is one of many ways of logging into an SSH server and they provide a safe and passwordless experience.</p><p>SSH uses <strong>Asymmetric Cipher</strong>. In cryptography, a <strong>cipher</strong> is an algorithm for performing encryption or decryption.</p><p>In a <strong>Symmetrical Encryption System</strong>, one function which encrypt and decrypt the data is shared with two people. It means if I say “ABC” which means “ZYX” and I sent it to you, you will also know the method is to reverse the alphabet and you can decrypt “ZYX” to “ABC”. <strong>So we are actually sharing the cipher and it could be stolen during transmission as well.</strong></p><p>So we use <strong>Asymmetric Encryption</strong> such as SSH keys. SSH create a pair of keys: <strong>public key</strong> and <strong>private key</strong>. As the name suggests, <strong>a public key is the key we will share it with outside</strong> and <strong>a private key is the key we will keep and never share with anyone</strong>. Moreover, a public key is usually used to encrypt informaiton while a private key is usually used to decrypt.</p><h3>Why Do We Need SSH</h3><p>Username and password can be stolen in the middle of transmission. Many administrators may be administering 50 or more servers. Even remember and type the usernames and passwords for 10 servers would be a difficult challenge. We need a easier manner. By the way, symmetrical encryption can’t be done on remote servers.[2]</p><h3>How SSH Keys Work</h3><p><strong>The information that encrypted with your public key can only be decrypted with your private key.</strong> So,</p><ol><li>we share the public key to everyone</li><li>and they can encrypt information with your public key and send the encrypted information back to you.</li><li>You can use the private key which can only be accessed by you to decrypt the information.</li></ol><p>That is how the SSH keys work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*GFSC4VcPPZH45dp7Gra6DA.png" /></figure><h3>SSH Keys for Server Login</h3><p>Imaging a server and your local device are new friends who don’t know each other, yet. They need to establish trust between each other. However, they don’t want to have anyone else eavesdrop their talk during the process. So they use the following way to communicate everytime:</p><ol><li>send public key</li><li>encrypt information with that public key</li><li>send encrypted information</li><li>decrypt with private key</li></ol><p>After doing that bidirectionally, they know each other and then they can communicate delightfully.</p><p>The following diagram presents the sequence of how SSH Keys works during server login.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*09q8mhofT72oyK8I5hq82g.png" /></figure><p>When you are trying to login your server, the protocol will do some of the work automatically. For example, to login your cloud server from your local device for the first time, usually you only have to do:</p><ol><li>Generate a public/private key pair on your local device and save them.</li><li>Send your local public key to the server.</li><li>Activite your local public key on the server.</li></ol><h3>References</h3><p>[1] Justin Elingwood, <em>How To Configure SSH Key-Based Authentication on a Linux Server</em>, <a href="https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server">https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server</a></p><p>[2] Bitfumes Webnologies, <em>How SSH key Works</em>, <a href="https://www.youtube.com/watch?v=y2SWzw9D4RA">https://www.youtube.com/watch?v=y2SWzw9D4RA</a></p><p>[3] Paul Turner, <em>Intro to SSH and SSH Keys</em>, <a href="https://www.youtube.com/watch?v=mF6J-VQHPxA">https://www.youtube.com/watch?v=mF6J-VQHPxA</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eee329d9e440" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Encrypt Your Files Using OpenSSL]]></title>
            <link>https://medium.com/@neoddish/encrypt-your-files-using-openssl-c36caf2df31?source=rss-e6f8038f67ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/c36caf2df31</guid>
            <category><![CDATA[openssl]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[file-management]]></category>
            <category><![CDATA[cryptography]]></category>
            <dc:creator><![CDATA[Neo Wang]]></dc:creator>
            <pubDate>Sun, 08 Jul 2018 18:12:00 GMT</pubDate>
            <atom:updated>2018-07-08T18:12:00.668Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HFmaIJiZ7BehRryMgLDvxQ.jpeg" /></figure><p>Sometimes you need to encrypt files such as a code book with all your SNS accounts, a dairy with your secret memory or a picture of your ex-girlfriend.</p><h3>Why OpenSSL</h3><p>You can just zip your file with a password but an encrypted zip file is so conspicuous. It is just shouting to anyone found it like “I am a secret! Decrypt me using some zip hacking tool!” Well, there are also some apps to encrypt your file easily. However, you have to decrypt with those apps, too. You may not find them after years.</p><p>Here gets a better solution: OpenSSL. It encrypts files to normal files, I mean the decrypted file could be quite ordinary. You can use it anywhere with a terminal. It is very difficult for someone without in-depth computer knowledge to decrypt the file. Yes, you may forget the commands of OpenSSL but you can always find them on Google.</p><h3>The One-Line Command</h3><p>If you are using a Unix system, like linux or mac, you can type one command line to use OpenSSL. If you are a windows user, sorry about that, you just have to install some tool to use OpenSSL.</p><h3>To Encrypt</h3><p>The one-line command to encrypt files is like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/548616d16ee825d39fd4f03becd8228e/href">https://medium.com/media/548616d16ee825d39fd4f03becd8228e/href</a></iframe><p>Let’s explain the command and options/arguments:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d220230e225766f8d2a3f6ce6fc43f05/href">https://medium.com/media/d220230e225766f8d2a3f6ce6fc43f05/href</a></iframe><ul><li>You could use other ciphers except des, such as aes-256-cbc, bf, cast, rc2, etc. Type openssl list-cipher-commands in your terminal to see all the ciphers you could use. Pick one of them and <strong>please remember it.</strong></li><li>A <strong>salt</strong> is a random data inserted into the input to make the <em>hashed</em> input longer and harder to be decoded. [2]</li><li>After the command line, you should be asked to enter a password twice. <strong>Remember the password!</strong></li></ul><blockquote><em>des is just an example here. Actually, it is an old crypto as well as rc4, md5, just don&#39;t use them. A better choice could be AES. RSA or ECDSA would be even better if you know how to use them.</em></blockquote><h3>To Decrypt</h3><p>Just add a -d option to decrypt:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5fe4d6f9143802b2fa4d0db8a74efd63/href">https://medium.com/media/5fe4d6f9143802b2fa4d0db8a74efd63/href</a></iframe><h3>Practice</h3><h4>1. Open terminal</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6f9113bb81b650a55499da67e2a6c89d/href">https://medium.com/media/6f9113bb81b650a55499da67e2a6c89d/href</a></iframe><h4>2. Go to the path of the file you want to encrypt</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5c54ace5df8f7ca3c792b73d53620cd0/href">https://medium.com/media/5c54ace5df8f7ca3c792b73d53620cd0/href</a></iframe><h4>3. Make a text file, input “hello world.”</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9e1bad64933b7b7035bdfd71707c7c9e/href">https://medium.com/media/9e1bad64933b7b7035bdfd71707c7c9e/href</a></iframe><p>Type i, hello world., esc, :wq Then you should find a file named &quot;hello.txt&quot; on your desktop, including text &quot;hello world.&quot;</p><h4>4. Encrypt the file</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/339574be7f8c5bf14914ba42c39e8c45/href">https://medium.com/media/339574be7f8c5bf14914ba42c39e8c45/href</a></iframe><p>Enter a password(like 123456) twice. Check your desktop, there should be a enc.txt includes some interesting content.</p><h4>5. Decrypt the file</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/61b1782604a4ac98bba430994cfef34e/href">https://medium.com/media/61b1782604a4ac98bba430994cfef34e/href</a></iframe><p>Now, there should be a back.txt on your desktop. It should include the original text “hello world.”</p><h3>Reference</h3><p>[1] OpenSSL, <a href="https://www.openssl.org/">https://www.openssl.org/</a></p><p>[2] Wikipedia<em>:Salt(cryptography), </em><a href="https://en.wikipedia.org/wiki/Salt_(cryptography)">https://en.wikipedia.org/wiki/Salt_(cryptography)</a></p><p>[3] <em>How to encrypt files from the command line on the Apple Mac using OpenSSL</em>. 2016. <a href="http://www.rawinfopages.com/mac/content/how-encrypt-files-command-line-apple-mac-using-openssl">http://www.rawinfopages.com/mac/content/how-encrypt-files-command-line-apple-mac-using-openssl</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c36caf2df31" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>