Cookies help us display personalized product recommendations and ensure you have great shopping experience.

By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
SmartData CollectiveSmartData Collective
  • Analytics
    AnalyticsShow More
    data analytics and truck accident claims
    How Data Analytics Reduces Truck Accidents and Speeds Up Claims
    7 Min Read
    predictive analytics for interior designers
    Interior Designers Boost Profits with Predictive Analytics
    8 Min Read
    image fx (67)
    Improving LinkedIn Ad Strategies with Data Analytics
    9 Min Read
    big data and remote work
    Data Helps Speech-Language Pathologists Deliver Better Results
    6 Min Read
    data driven insights
    How Data-Driven Insights Are Addressing Gaps in Patient Communication and Equity
    8 Min Read
  • Big Data
  • BI
  • Exclusive
  • IT
  • Marketing
  • Software
Search
© 2008-25 SmartData Collective. All Rights Reserved.
Reading: Why you shouldn’t use JPGs for quantitative charts: a case study
Share
Notification
Font ResizerAa
SmartData CollectiveSmartData Collective
Font ResizerAa
Search
  • About
  • Help
  • Privacy
Follow US
© 2008-23 SmartData Collective. All Rights Reserved.
SmartData Collective > Big Data > Data Mining > Why you shouldn’t use JPGs for quantitative charts: a case study
Data MiningPredictive Analytics

Why you shouldn’t use JPGs for quantitative charts: a case study

DavidMSmith
DavidMSmith
3 Min Read
SHARE

I’m not going to comment on the substance on the Republican “Road To Recovery” shadow budget document: plenty of more suitable forums have done so already. But I do want to use it as an illustration of why you should never use the JPG graphics format (and the jpeg graphics driver in R) for quantitative graphics. Let me pull up one chart, from page 5: I screen-captured that from the PDF file (and saved it as a PNG file for inclusion here: PNG is a lossless format, so you see it exactly as I saw it on my screen). Content…

I'm not going to comment on the substance on the Republican "Road To Recovery" shadow budget document: plenty of more suitable forums have done so already. But I do want to use it as an illustration of why you should never use the JPG graphics format (and the jpeg graphics driver in R) for quantitative graphics. Let me pull up one chart, from page 5:

More Read

There’s a “perfect storm” brewing that just…
Rich voters, poor voters, and the 2008 election
CRISP-DM Data Mining Methodology in Hypertext Form
Consolidation in the Social Business Market Continues: Salesforce.com Acquires Radian6
6 Predictions About the Future of Predictive Analytics
Jpgchart
I screen-captured that from the PDF file (and saved it as a PNG file for inclusion here: PNG is a lossless format, so you see it exactly as I saw it on my screen). Content aside, that's a pretty awful-looking chart, and it's clearly a graphic that was saved in the JPG file format. See the blurriness around the text, especially between the title and the subtitle? Those are compression artifacts caused by saving the graphic as a JPG. The tick labels, legend, and source reference are basically impossible to read.

Zooming in on the graph doesn't help either — here's another screencapture after using the "Zoom" feature in my PDF viewer (Preview, on a Mac):

Jpggraphlarge
Because this is a JPG, zooming in doesn't make the chart any clearer: actually, it just makes it easier to see the compression artifacts around the lines on the chart itself. (JPG is especially poor at capturing straight lines and blocks of a single color.) Zooming doesn't make the tick marks any easier to read either, mostly because this chart was generated at low resolution and the compression artifacts swamp the small text.

If this chart had been saved as a high-resolution PNG or GIF file, the text and lines would have been much clearer, although with enough zooming you'd still eventually see the individual pixels that make up the chart. If it had been saved in a vector format like PostScript, PDF, or Windows MetaFile and then embedded in the PDF, the chart would remain crystal-clear at all levels of zoom, and would always be clear when printed.

GOP.gov: Road to Recovery

Share This Article
Facebook Pinterest LinkedIn
Share

Follow us on Facebook

Latest News

data analytics and truck accident claims
How Data Analytics Reduces Truck Accidents and Speeds Up Claims
Analytics Big Data Exclusive
predictive analytics for interior designers
Interior Designers Boost Profits with Predictive Analytics
Analytics Exclusive Predictive Analytics
big data and cybercrime
Stopping Lateral Movement in a Data-Heavy, Edge-First World
Big Data Exclusive
AI and data mining
What the Rise of AI Web Scrapers Means for Data Teams
Artificial Intelligence Big Data Exclusive

Stay Connected

1.2kFollowersLike
33.7kFollowersFollow
222FollowersPin

You Might also Like

How to compare two audio files quality wise?

3 Min Read
Image
Predictive Analytics

Gliding through Traffic with Big Data

5 Min Read

Tweeting from R

4 Min Read

Big Data: Will Open Source Software Challenge BI & Analytics Software Vendors

3 Min Read

SmartData Collective is one of the largest & trusted community covering technical content about Big Data, BI, Cloud, Analytics, Artificial Intelligence, IoT & more.

ai chatbot
The Art of Conversation: Enhancing Chatbots with Advanced AI Prompts
Chatbots
ai in ecommerce
Artificial Intelligence for eCommerce: A Closer Look
Artificial Intelligence

Quick Link

  • About
  • Contact
  • Privacy
Follow US
© 2008-25 SmartData Collective. All Rights Reserved.
Go to mobile version
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?