If you ever wondered what Digital and Print book sales look like for a technical book (a computer programming book, in this case), here you go. This is a slightly cleaned up chart that O’Reilly provides to me for sales of the Scala Cookbook over time, showing eBook sales vs the printed book sales.
In an effort to share some source code (but without taking the time to explain it), here’s some Java source code that I just used to create a JFreeChart chart/graph of some data that I use in my Android football game:
I needed to use Gnuplot a little bit over the last few days, mostly to create 2D line charts, and these are my brief notes on how to get started with Gnuplot. If you haven’t used it before, it’s a pretty amazing tool.
Jumping right in ...Back to top
Use MacPorts or Homebrew to install Gnuplot on Mac OS X systems:
port install gnuplot brew install gnuplotBack to top
Sample data files
My examples use the following 2-column and 4-column data files:Back to top
“Ten things fab leaders do,” a nice graphic from Helen Bevan.
My new favorite website (ITHare.com) has this terrific infographic that demonstrates that all CPU operations are not equal.
I like this chart/infographic from espn.com that shows the “game flow” for Game 5 of the 2016 NBA Finals. Without watching the game you can get a feel for the ebb and flow of the game, and how it got away from Golden State.
It reminds me of trying to get a software project live, where the developers are knocking out tasks and bugs (and if the project isn’t in control, other forces are trying to add new tasks, which I always compared to moving the finish line in a race).
This is an example of a “radar chart,” and comes from this thoughtworks.com page. It looks like a nice way to visualize a set of characteristics. For instance, you could use a chart like this to judge different qualities about a movie, such as whether it is romantic, action-packed, and so on.
I’m sure there must be other ways to mathematically see these differences, but I agree with the general concept that it can be easy to be misled by data. (Image from this Twitter page.)
Many moons ago I thought I wrote an AppleScript script named GetStockUrls, whose sole purpose was to open many webpages from finance.yahoo.com at one time. I could run that script, then easily look at the stocks I owned.
Today I found that script on an old Mac computer, and when I did that I saw that I didn’t write it with AppleScript, but instead created it with the Mac Automator. This image shows all you have to do in the Mac Automator to achieve this result. On my current Mac this script opens the Safari browser and opens each URL shown in a new tab. I can then move between the tabs to see what I want to see, quickly and easily.
This image shows what the result looks like in the Safari browser: