<?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 Maxim Lippeveld on Medium]]></title>
        <description><![CDATA[Stories by Maxim Lippeveld on Medium]]></description>
        <link>https://medium.com/@lippeveld-maxim?source=rss-1f92e843663f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*2COu5qVFM9KQJwyd.</url>
            <title>Stories by Maxim Lippeveld on Medium</title>
            <link>https://medium.com/@lippeveld-maxim?source=rss-1f92e843663f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 11:46:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lippeveld-maxim/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[Buzz: fast and interactive exploration of low-dimensional spaces]]></title>
            <link>https://lippeveld-maxim.medium.com/buzz-fast-and-interactive-exploration-of-dimensionality-reduced-spaces-ca0a0b9e7e0b?source=rss-1f92e843663f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca0a0b9e7e0b</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[dimensionality-reduction]]></category>
            <category><![CDATA[apache-arrow]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[d3js]]></category>
            <dc:creator><![CDATA[Maxim Lippeveld]]></dc:creator>
            <pubDate>Tue, 29 Jun 2021 11:51:01 GMT</pubDate>
            <atom:updated>2021-06-29T13:08:34.342Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Screenshot of a dataset in Buzz" src="https://cdn-images-1.medium.com/max/1024/1*Ua1nqh-XciKTcejbUrtWUg.png" /></figure><p>Over the last decades, datasets have grown considerably in volume. On the one hand, acquisition has become cheaper and quicker allowing for more instances to be measured. On the other hand, more measurements are made per instance. The complexity of interpreting such large datasets has pushed the development of dimensionality reduction techniques forward. Algorithms such as PCA, MDS, T-SNE, UMAP or autoencoders have been successful in allowing us to wrap our heads around large amounts of high-dimensionsal data by means of low-dimensional embeddings.</p><p>Yet, when displaying these embeddings, not much has changed. A scatter plot with coloured dots remains the predominant way of visualizing them. However, this visualization is most often completely static, which makes it too limited for exploration purposes.</p><p>With Buzz, I set out to develop an open-source tool that solves this problem by letting the user interactively explore their datasets in a smooth, fast and hassle-free way. Buzz is easy to install, intuitive to use and should always feel snappy, also for large datasets.</p><p>The first release of Buzz focuses on laying decent foundations. Some first exploration functionality has been implemented with lots of attention towards scalability. Buzz is currently able to:</p><ul><li>load and display datasets of up to millions of instances,</li><li>project measurement values as colours onto the scatter plot with negligible delay,</li><li>and compare measurement distributions between point clouds selected on the scatter plot.</li></ul><h3>Implementing Buzz in Javascript</h3><p>To make Buzz interactive, portable and easily extendible it is implemented in Javascript. However, when handling big data, Javascript might not be your first choice. As it turns out, though, several libraries exist that turn Javascript into a pretty competent data visualization and processing language.</p><h4>Hardware-accelerated scatter plots with WebGL</h4><p>Crucially, Buzz should be able to efficiently render scatter plots with many points. Interactive graphics can be created with Javascript with three technologies: Canvas, SVG, and WebGL. The former two are limited to around 10,000 elements before responsiveness drops considerably, which rules them out. WebGL on the other hand can handle millions of datapoints as it uses hardware-acceleration to render high performance 2D or 3D graphics.</p><p>Writing bare-bones WebGL allows for endless possibilities, however, for Buzz’ purposes this is not necessary. The D3FC library, a wrapper around plotting library D3.js, provides the D3FC-WebGL module. This modules lets you effortlessly render scatter plots using WebGL. Check out <a href="https://blog.scottlogic.com/2020/05/01/rendering-one-million-points-with-d3.html">Rendering One Million Datapoints with D3 and WebGL</a> for an example use of this powerful library. By using D3FC-WebGL, I can render 100,000s of points easily all while remaining responsive to user input.</p><h4>Efficient data loading and handling with Arquero data tables</h4><p>Javascript can natively load data from CSV, JSON or XML files. These are text-based formats, which makes parsing prohibitively slow for large datasets. A big advantage of these data formats, however, is interoperability. Data can be exported to these formats from virtually any language on any system.</p><p><a href="https://github.com/uwdata/arquero">Arquero</a> is a Javascript library that combines interoperability with performance. Firstly, it provides fast in-memory query processing and transformations of dataframes. And secondly, it works with the Apache Arrow columnar format, meaning data can be loaded from Arrow files. Such files can be produced in C, C++, C#, Go, Java, JavaScript, MATLAB, Python, R, and Ruby. Pandas Dataframes even have a to_feather member that lets you export your dataframe as an Arrow file, which can in turn be imported in Buzz. A dataset of ~500,000 instances each with ~100 measurements is loaded in under a second.</p><h3>Using Buzz on your own datasets</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tX-WXfLweD-YtXYj6P-w7A.gif" /><figcaption>Demonstration of Buzz on a dataset of around 100,000 data points.</figcaption></figure><p>If you want to try out Buzz, you can download the <a href="https://github.com/MaximLippeveld/buzz/releases">latest release on Github</a>. Just untar and run the buzz executable inside. If you don’t have your own dataset, a demo dataset can be opened from the welcome screen. Have a look at the <a href="https://github.com/MaximLippeveld/buzz/blob/master/USAGE.md">USAGE file</a> if you want to import your own dataset.</p><p>Of course, you can also have a look at <a href="https://github.com/MaximLippeveld/buzz">the source code on Github</a>, or contribute to the project if you would like to improve Buzz.</p><p>Contact me on Twitter <a href="https://twitter.com/MaximLippeveld">@MaximLippeveld</a> if you would like to learn more about Buzz.</p><p>Happy exploring!</p><p><a href="https://github.com/MaximLippeveld/buzz">MaximLippeveld/buzz</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca0a0b9e7e0b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>