<?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 Mattéo Larrodé on Medium]]></title>
        <description><![CDATA[Stories by Mattéo Larrodé on Medium]]></description>
        <link>https://medium.com/@matteo.larrode2?source=rss-26ade14f572e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*LOC7L3VwMTfIejKff27obg.png</url>
            <title>Stories by Mattéo Larrodé on Medium</title>
            <link>https://medium.com/@matteo.larrode2?source=rss-26ade14f572e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 22:21:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@matteo.larrode2/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[Charting My Life: Lessons from “Dear Data”]]></title>
            <link>https://medium.com/@matteo.larrode2/dear-data-my-contribution-302d0e12e7ee?source=rss-26ade14f572e------2</link>
            <guid isPermaLink="false">https://medium.com/p/302d0e12e7ee</guid>
            <category><![CDATA[time-management]]></category>
            <category><![CDATA[storytelling]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[dear-data]]></category>
            <dc:creator><![CDATA[Mattéo Larrodé]]></dc:creator>
            <pubDate>Thu, 20 Apr 2023 19:50:02 GMT</pubDate>
            <atom:updated>2023-04-20T19:55:55.764Z</atom:updated>
            <content:encoded><![CDATA[<h4>The result of a week recording my procrastination, inspired by the correspondence of Stefanie Posavec and Georgia Lupi</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QvEkCf_UJIwWnCCqwrS4ag.jpeg" /></figure><h3><strong>What is Dear Data?</strong></h3><blockquote>“Each week, and for a year, we collected and measured a particular type of data about our lives, used this data to make a drawing on a postcard-sized sheet of paper, and then dropped the postcard in an English “postbox” (Stefanie) or an American “mailbox” (Giorgia)!”</blockquote><p>When they started collecting and hand drawing their personal data and sending it to each other in the form of postcards, <a href="http://www.stefanieposavec.co.uk/">Stefanie Posavec</a> and <a href="http://giorgialupi.com/">Giorgia Lupi</a>, two data visualization designers living on either side of the Atlantic (Giorgia in New York, and Stefanie in London), were far from imagining that their side project would end up acquired as part of the permanent collection of MoMA.</p><p>Each week, they picked a common theme, documenting their distractions, the animals they encountered, the compliments they received, or the frequency of their swearing. On one side of a 7 x 5 postcard, they illustrated the data, and on the other side, a rich, highly-detailed legend helps interpret (or sometimes rather decipher) the visualization.</p><h4>52 pairs of handwritten postcards, sent back and forth across the Atlantic, provide an intimate glimpse into their lives and the evolution of their friendship.</h4><p>The uniqueness and charm of the project comes from the choice of opting for hand-drawn visualizations, instead of relying on typical business intelligence tools like Excel or Tableau. Those drawings, imperfect and organic, resemble forests, fields of flowers or lollipops, and galaxies of stars. Some are like schools of fish, others are like cities of skyscrapers and musical scores. The diversity of forms and designs used to convey the highly personal data breaks the mould of typical data visualization.</p><p><strong>A type of “slow data” transmission:</strong></p><blockquote>“We prefer to approach data in a slower, more analogue way. We’ve always conceived Dear Data as a “personal documentary” rather than a quantified-self project which is a subtle — but important — distinction. Instead of using data just to become more efficient, we argue we can use data to become more humane and to connect with ourselves and others at a deeper level.”</blockquote><figure><img alt="Examples of Dear Data postcards from the official website" src="https://cdn-images-1.medium.com/max/1024/1*Ld0duPst3MxdbmTd6kyfVw.png" /><figcaption>Image from the <a href="http://www.dear-data.com/theproject">Dear Data website</a></figcaption></figure><h3>My Participation</h3><p>I owe the discovery of this project to Professor <a href="https://www.linkedin.com/in/eric-lawrence-a392464/">Eric Lawrence</a>, teaching Data Visualization at the George Washington University, who used this project to introduce us to a new accessible and relatable approach to data.</p><p><strong>Procrastination — and “due date is the do-date” behaviour —is a common struggle that many of us face in our daily lives</strong>. It can lead to increased stress, decreased productivity, and missed deadlines. So this Dear Data project was the perfect opportunity for me to gain more insight into my behavior and identify areas where I could improve.</p><p><em>Here is the result of this week of collecting data on procrasination:</em></p><figure><img alt="The front page of my Dear Data project. There are 7 different ribbons with knots of different sizes that represent time lost to procrastination." src="https://cdn-images-1.medium.com/max/1024/1*05b3iPWEfJgn9NkgOGNOPw.jpeg" /><figcaption>Front of my Dear Data postcard</figcaption></figure><p><strong>Every day is represented as a distinct ribbon that starts when I wake up and ends when I turn my lights off and decide to fall asleep. </strong>Throughout the day, I have recorded every moment I intended to start a task. When the task is started straight away, it is represented as a simple line on the ribbon.</p><p>When it came to representing the time lost during the day to procrastination, I opted to use a knot in the time ribbon. Essentially, the knot starts at the time I intended to start a task and ends when I actually got around to starting it. This way, the ribbon is physically shortened by the amount of time spent procrastinating. For instance, if I procrastinated for an hour, that hour will not be reflected on the ribbon, but is lost in the knot.</p><p>My aim was to depict procrastination as a negative force that robs me of valuable time in my day. And the knot is a perfect symbol for this purpose. <strong>However, it’s important to remember that procrastination isn’t all bad.</strong> In fact, it can be a useful way to unwind and even enhance the quality of my active time. This positive aspect of procrastination is not reflected in my visualization.</p><p><em>The back of the postcard helps decipher this drawing:</em></p><figure><img alt="Back of the postcard. It contains all the information to help decipher the main visualization." src="https://cdn-images-1.medium.com/max/1024/1*6YXvRvn-_R4LZlQ-X_4o1w.jpeg" /><figcaption>Legend of my Dear Data postcard</figcaption></figure><h3>My findings</h3><p>I discovered some interesting patterns about my procrastination habits through the Dear Data project. Here are two key observations that stood out to me:</p><ol><li><strong><em>Cycles of Motivation:</em></strong> Looking at the graph of my procrastination knots, it’s clear that the week can be divided into two parts. From Monday to Wednesday, the knots are larger and more numerous, indicating a higher level of procrastination. Thursday shows a significant drop in procrastination, similar to that of Monday. However, procrastination then gradually increases again, reaching its peak on the weekend.</li><li><strong><em>Tasks</em></strong>: I also noticed interesting patterns in the types of tasks I procrastinated on throughout the day. During the week, I only procrastinate chores and cooking in the evenings, and never in the mornings. This is most likely due to the fact that I have to go to campus for my morning classes, and I simply don’t have the time to postpone anything. On the weekend, my biggest challenge was simply getting out of bed! Throughout the week, social media proved to be a major distraction and a significant factor in my procrastination.</li></ol><h4>I can use these observations on my procrastination tendencies to find ways to improve my productivity in the future! For instance, I can try to tackle more challenging tasks earlier in the week when my motivation is higher. In the weeks that followed this project, I also significantly limited my use of social media during work hours to minimize distractions.</h4><p>“Dear Data” and other similar project are amazing tools that promote data literacy and creativity. Embracing imperfection and the in-between, they can allow us to blur the boundaries of what we consider data visualization, design, and even art. Although in the data visualization community, like in any other community, there is healthy debate on a discipline’s function and best practice, “Dear Data” tells us that there are no rules to visualizing data, and that anyone tell their own story with the data around them.</p><p>This is especially inspiring for people who can learn that data is not just numbers and statistics, but also a way to express their personal views and aesthetic. With this powerful message, we can all become better data storytellers and make sense of the world around us.</p><p><em>Lupi, G., and Posavec, S. (2016). </em><a href="https://www.amazon.com/Dear-Data-Giorgia-Lupi/dp/1616895322/"><em>Dear Data</em></a><em>. Princeton Architectural Press, New York.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=302d0e12e7ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create a The Economist-Style Chart]]></title>
            <link>https://medium.com/@matteo.larrode2/create-a-the-economist-style-chart-84193a69263e?source=rss-26ade14f572e------2</link>
            <guid isPermaLink="false">https://medium.com/p/84193a69263e</guid>
            <category><![CDATA[r]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ggplot2]]></category>
            <category><![CDATA[the-economist]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Mattéo Larrodé]]></dc:creator>
            <pubDate>Fri, 07 Apr 2023 09:16:48 GMT</pubDate>
            <atom:updated>2023-06-08T16:12:28.410Z</atom:updated>
            <content:encoded><![CDATA[<h4>A step-by-step tutorial on how to create a chart in the style of The Economist with R’s ggplot2</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8QgT2ksErNHKGO4lnBezUA.png" /></figure><p>In this article, and in the context of my application for a summer internship as a data journalist at The Economist, I will show you a step-by-step tutorial on how to create a chart that could have been published by the renowned newspaper with R’s ggplot2.</p><p>I drew inspiration from this insightful <a href="https://medium.economist.com/charting-new-territory-7f5afb293270">Medium article</a> by Helen Atkinson, visual data journalist at The Economist, in which she explains her thought process when producing charts. She also mentions that forming a set of guidelines to help optimise content in The Economist’s feed is especially important on platforms such as Instagram where people can easily scroll past content that doesn’t immediately grab their attention.</p><p>I am passionate about the evolution of new technologies and AI, so I decided to plot the evolution of annual global private investment in artificial intelligence, by focus area, between 2017 and 2021. The source data was provided by <a href="https://ourworldindata.org/">Our World in Data</a> and can be downloaded <a href="https://ourworldindata.org/grapher/private-investment-in-artificial-intelligence-by-focus-area?country=Drones~Educational+tech~Energy%2C+oil%2C+and+gas~Facial+recognition~Natural+language%2C+customer+support~Medical+and+healthcare~Retail~Data+management%2C+processing%2C+cloud">here</a>.</p><p>You can find the entire code and data I used on this <a href="https://github.com/MatteoLarrode/Blog-Articles/tree/main/Economist-Style">Github repository</a>.</p><p>Let’s get started!</p><h3>Data Pre-Processing</h3><h4>Libraries and Setup</h4><pre>library(tidyverse)<br>library(ggthemes)<br>library(ggplot2)<br>library(scales)<br>library(magick)<br><br>data &lt;- read_csv(&quot;data/private-investment-in-artificial-intelligence-by-focus-area.csv&quot;)</pre><h4>Data Pre-Processing</h4><p>The dataset contains the inflation adjusted total private investment in artificial intelligence across 26 different focus areas. Not much wrangling is necessary here because the data provided by Our World in Data is already tidy. We just need to remove total investment because it will make the lines of individual focus areas impossible to distinguish due to the difference in scale.</p><pre>data &lt;- data %&gt;%<br>  filter(Entity != &quot;Total&quot;)</pre><h3>Data Visualisation</h3><p>I love highlighted slope charts because they allow to put the evolution of a metric in perspective with the evolution of the others. A simple trick to generate these highlighted slope charts is to stack line layers. First, create an all-grey slope chart for all areas. Then, do the same but with a smaller data set only containing the selected focus areas. In this layer, you can change the color and the thickness of the lines.</p><p>For the more curious among you, this is The Economist’s <a href="https://design-system.economist.com/documents/CHARTstyleguide_20170505.pdf">visual styleguide</a>. I used it for the selection of line colors, but it’s also a gold mine for anyone interested in data visualization. If you are in need of inspiration, plenty of examples of charts and maps made by the data team of The Economist can be found <a href="https://www.economist.com/graphic-detail">here</a>.</p><pre>#selection of the colors for highlighted lines<br>highlight_colors &lt;- c(&quot;#17648d&quot;, &quot;#51bec7&quot;, &quot;#008c8f&quot;, &quot;#d6ab63&quot;, &quot;#843844&quot;)<br>#selection of 5 focus areas<br>names(highlight_colors) &lt;- c(&#39;Data management, processing, cloud&#39;, <br>                             &#39;Medical and healthcare&#39;, <br>                             &#39;Retail&#39;,<br>                             &#39;Natural language, customer support&#39;,<br>                             &#39;Facial recognition&#39;)<br><br>#new data frame with only those 5 focus areas<br>highlight_data &lt;- data %&gt;%<br>  filter(Entity %in% names(highlight_colors))<br>#usual background colours for The Economist charts<br>bg_col_beige &lt;- &quot;#f1f0e9&quot;<br>bg_col_blue &lt;- &quot;#dee9ec&quot;</pre><p>Now that we set up the focus areas and their colors, we can begin by creating our ggplot “canvas”:</p><pre>ggplot(data, <br>        aes(x = Year, <br>            y = total_private_investment_by_focus_area_inflation_adjusted,<br>            group = Entity))</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f-5dT5Bg3W3D0OzjJ-PY2w.png" /></figure><p>Notice how I grouped by “Entity”; this allows to plot one line for each focus area. Now we can add the geometrical elements, setting up the highlighted slopes chart.</p><pre>ggplot(data, aes(Year, total_private_investment_by_focus_area_inflation_adjusted, group = Entity))+<br>  geom_line(linewidth = 0.75, color = &#39;#d4dddd&#39;) +<br>  geom_line(data = highlight_data, aes(color = Entity), linewidth = 1.25)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QD9Vi79Ur7v12ihlWznerA.png" /></figure><p>The chart is starting to convey some information! Each grey line represents private investment in a specific area, and we arbitrarily highlighted 5 of those areas. Now let’s adjust the x- and y-axis properties, and the colors of the lines (that we set up just earlier). Notice the use of the scales package for the labels of the y-axis.</p><p>We can also add the title and caption.</p><pre>ggplot(data, aes(Year, total_private_investment_by_focus_area_inflation_adjusted, group = Entity))+<br>  geom_line(linewidth = 0.75,color = &#39;#d4dddd&#39;) +<br>  geom_line(data = highlight_data, aes(color = Entity), linewidth = 1.25) +<br>  <br>  labs(title = &quot;Annual global private investment in artificial intelligence, by focus area&quot;,<br>       caption = &quot;Source: Our World in Data&quot;,<br>       x = NULL,<br>       y = NULL)+<br>  scale_y_continuous(position = &quot;right&quot;,<br>                     labels = scales::dollar_format(prefix = &quot;$&quot;, suffix = &quot; billion&quot;, scale = 1e-9),<br>                     breaks = seq(0, 12e9, by = 2e9))+<br>  scale_colour_manual(values = highlight_colors)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hKea09xKMoEWvfVA_qS1QQ.png" /></figure><p>Finally, we can adjust the appearance of the plot by adjusting theme(). There is a lot of elements in there, so I advise you to clone the code from the <a href="https://github.com/MatteoLarrode/TheEconomist">Github repository</a>, and to play around with it to understand the role and mechanics of those elements.</p><p>I’m using “Roboto Condensed” from <a href="https://fonts.google.com/specimen/Roboto+Condensed?query=roboto+condensed">Google Fonts</a> for the following plot. If you don’t know how to import your system fonts, you can use the extrafont package. You can follow <a href="https://r-coder.com/custom-fonts-r/">this tutorial</a> for some help!</p><pre>plot &lt;- ggplot(data, aes(Year, total_private_investment_by_focus_area_inflation_adjusted, group = Entity)) + <br>  geom_line(linewidth = 0.75,color = &#39;#d4dddd&#39;) +<br>  geom_line(data = highlight_data, aes(color = Entity), linewidth = 1.25) +<br><br>  labs(title = &quot;Annual global private investment in artificial intelligence, by focus area&quot;,<br>       caption = &quot;Source: Our World in Data | Chart made by @matteoStats&quot;,<br>       x = NULL,<br>       y = NULL)+<br>  scale_y_continuous(position = &quot;right&quot;,<br>                     labels = scales::dollar_format(prefix = &quot;$&quot;, suffix = &quot; billion&quot;, scale = 1e-9),<br>                     breaks = seq(0, 12e9, by = 2e9))+<br>  scale_colour_manual(values = highlight_colors) +<br><br>  theme(aspect.ratio = 3.2/7,<br>        text = element_text(family = &quot;Roboto Condensed&quot;),<br>        plot.margin = margin(t = 0, r = 0.5, b = 0, l = 0.5, unit = &quot;cm&quot;),<br>        plot.background = element_rect(fill = &quot;white&quot;),<br>        panel.background = element_rect(fill = &quot;white&quot;),<br>        panel.grid.major.x = element_blank(),<br>        panel.grid.minor.x = element_blank(),<br>        panel.grid.major.y = element_line(color = &quot;#dcdbd8&quot;),<br>        panel.grid.minor.y = element_blank(),<br>        legend.text = element_text(margin = margin(l=3), size = 10),<br>        legend.title = element_blank(),<br>        legend.position = c(0.21, 0.77),<br>        legend.key.width = unit(25,&quot;pt&quot;),<br>        legend.key.height = unit(15, &quot;pt&quot;),<br>        legend.key = element_blank(),<br>        axis.text = element_text(size = rel(1), color = &quot;gray8&quot;),<br>        axis.line.x  = element_line(color = &quot;gray8&quot;),<br>        axis.ticks.y = element_blank(),<br>        plot.title = element_text(size = rel(1.5), hjust = 0, face = &quot;bold&quot;),<br>        plot.caption = element_text(hjust = 0, size = 9, colour = &quot;#4B4B4B&quot;))<br>plot</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d5G58yo_M4pkYuN6hcw-Ww.png" /></figure><p>Now you can (hopefully!) recognize the style of The Economist. Let’s save the plot and, as a bonus, use the magick package to add the classic red header.</p><pre>ggsave(plot = plot, filename = &quot;plot.png&quot;, width = 7, height = 3.8)<br><br>p &lt;- image_read(&quot;plot.png&quot;)<br>head &lt;- image_read(&quot;header2.png&quot;)<br><br>economist_plot &lt;- image_flatten(c(p,head))<br>image_write(economist_plot, &quot;TheEconomist_plot.png&quot;)</pre><p>And here is the final result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8QgT2ksErNHKGO4lnBezUA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84193a69263e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>