Tagging Semantic Articles Outside of the Factbox

One of my favorite Semantic MediaWiki features is the factbox. It’s a quick way to browse wiki content by property values.

What if you want a similar browsing interface within a wiki page? For example, let’s say you want a value for a property you use to ‘tag’ an article to provide a link to a list of all pages with that property/value pair. Here’s one way how. 1

For the past year one of the ways we’ve been using our wiki is to publish an internal monthly newsletter. Each newsletter article is a wiki page, with a template providing consistent navigation.

Screen Shot 2014-12-17 at 1.19.10 PM

 

Along the right hand column of every article are the tags for the audience and topic areas related to the article.

linked-list

Recently I made an addition to the list of Audience and Topic Area tags to provide dynamic links to all pages with that property value. I’m leveraging the SMW Special:SearchByPropertySpace special page.

In the article template, with the property “Facets Article Topic Areas” you’ll want to use an arraymaptemplate 2 to format the comma separated list of values. 3

'''Topic Areas''': {{#arraymaptemplate:{{{Facets Article Topic Areas|}}}|SearchByPropertySpace-FacetsArticleTopicAreas|,|, }}

What this will do is take every value for the property Facets Article Topic Areas and use the SearchByPropertySpace-FacetsArticleTopicAreas 4 template to format each value. Each value is separated by comma, and our final output will be separated by a comma and a space.

In the template “SearchByPropertySpace-FacetsTopicAreas” we have the following.

[[Special:SearchByProperty/Facets-20Article-20Topic-20Areas/{{#replace:{{{1}}}| |-20}}|{{{1}}}]]

This creates a link to Special:SearchByProperty where the property name is Facets Article Topic Areas and the value is each comma separated value from our arraymaptemplate.

The replace parser function converts values with spaces to URL encoded characters.

SearchByProperty

The result is that every topic area listed on the page becomes a link to Special:SearchByProperty that shows all pages with that value.

Screen Shot 2014-12-17 at 5.02.52 PM

When editors add a new article they only have to add a list of topic areas. 5 This makes in-article links to all other articles a click away without having to scroll to the bottom of the page to view the factbox.

Unreachable Time and a Rant Against Voicemail

I’ve been at my employer for over 3 years now.6 The entire time I’ve been here my voicemail message has said the following:

“Hello, you’ve reached Chris Koerner. I’m often away from my desk and don’t respond quickly to voice mail. The best way to contact me is to send me an email at me@work.net or if it’s urgent call me on my cell at 314-555-2456. Thanks!”

So, don’t leave me a VM, try my cell or email. I’ll answer my cell from a work-prefix number when I’m at work.7 I respond to email in a few hours at most.

My wife finds it amazing that I’m able to do this. That my boss doesn’t prevent this or that I haven’t gotten in trouble yet. Here’s my secret. I never asked my boss how I should make myself accessible and spend my attention. I decided that. He trusts me. I said, for me, the best way to get my attention is via email or cell call. Voicemail sucks.

Short of that. I’m unreachable. I think that’s important. Even with all the responsibilities I have and all the various ways to get in touch with me, sometimes I will not be available. I might be busy with a big project and a deadline. I might be in a meeting.8

I’m still accessible – even faster than voicemail! – and I’m polite about it. The important thing for me is making sure that the time I have allotted to get work done is as productive as possible. I use the tools I have – email, phone, IM – in the best way possible. To me, being accessible via voicemail is the same as being accessible via fax. Ancient, cumbersome, and a pain for all parties involved.

Voicemail is slow. Like most folks I read much faster that someone can talk. If I’m familiar with a topic I can quickly read an email and respond.

Voicemail also introduces ambiguity. Did they say ‘Six five seven two” or “Six five six two”? I’d have to play back the message if I missed a number, address, etc. 9

The tools we use should make us more productive and efficient. We should delight clients and co-workers with our responsiveness. Clunky, outmoded tools like voicemail don’t help us. I encourage you to look at how you’re using things like voicemail and see if there isn’t a better, more productive and friendly way to manage your attention and time.

Leave me a voicemail comment with your own ideas.

A Great Interview with Mike Monteiro – “Design Is Not An Investment”

“Yes, investments are great. They’re also not necessary. When I think of investments I think of stocks, artwork, original Star Wars figures mint in box. Stuff that’s nice to have, and that you hope increases in value someday. Design is core. It’s not a nice-to-have. It’s plumbing. It’s foundation. You don’t invest in design. You can’t exist without it. A website without design isn’t a house without art, it’s a house without a bathroom.”

Like any professional I have numerous books on topics core to my work. Technical manuals for systems, guides for programming languages, historical text from founders in the discipline, and numerous outdated (FrontPage 97!) reference materials from years gone by.

Yet, there is only one book that I would give to anyone entering the field. Mike Monteiro’s Design is a Job. I’ve been a ‘professional’ for over a decade. I just read his book a few years ago and it has changed how I approach everything – for the better.

And now Mike has a second book out, from the other side of the table as it were, called “You’re My Favorite Client“. This interview with him is a great introduction to the relationships between designer and client.

Both of Mike’s books are essential for anyone working to create something for someone else. Web design, photography, app developers – all will gain more from these books than any technical guide or “Photoshop for Dummies” could ever muster.

TDWI St. Louis September Meeting Recap – Data Visualization with Dona Wong and Daniel Murray

This is a recap I wrote for the internal newsletter at my day job. Since TDWI is open to the public and attended by professionals from many different industries I thought it would be smart to share it with anyone who is interested. 

This past month the TDWI (The Data Warehousing Institute) St. Louis chapter hosted a great meeting around the topic of data visualization. The two presenters were phenomenal and their talks couldn’t be more insightful to our own efforts.

The first presentation was from Dona Wong. A successful acolyte of data visualization with over 20 years of experience, Dona has worked to create meaningful storytelling through the visualization of data.

Currently Dona works as the vice president and director of research at the Federal Reserve Bank of New York. Before joining the Federal Reserve, Donna was a graphics editor for the New York Times and more recently the graphics director at The Wall Street Journal. There she spearheaded a clean, consistent, and well-designed guide to data visualization used across the paper’s online and print editions.

She compiled her research and approach into a best-selling book titled The Wall Street Journal Guide to Information Graphics.

The focus of Dona’s presentation was to provide a straight-forward overview on how to approach data visualization with practical real-world benefits. She told the story about how children learn first their ABCsthen words, then sentences, and finally the ability to editorialize and create new narratives. “We don’t do the same with information visualization. On the first day we jump into the deep end!

Dona’s approach is to not jump into the deep end but to think about telling a good story – not just the data – and identify a narrative. This is the focus of data visualization for Wong, to create stories that awaken our imagination and create positive, actionable experiences for our audience.

An example of this was a project she undertook to look at mortgage rates and foreclosures for the geographic area around New York City. There are many ways to visualize that data and each approach could tell a different story. When trying to tell a story around housing credit, the question she wanted to answer was Who is borrowing?. By visualizing the information as a geographic heat map she was able to tell the story of who by the percentages of foreclosures by zip code.

Dona then went on to share her Seven Deadly Sins of data visualization. These seven tropes are common mistakes she sees when individuals are tasked with visually representing data.

1. I have some numbers. Let’s make a chart

People will often pick whatever chart is handy or ‘looks cool’ to display their data. Colors should not be picked randomly – Colors have meaning!. Dona recommends that you take out whatever is not germane to the story. Make sure your visualizations have a crisp meaning.

Another simple recommendation is to add headlines to charts. Don’t just rely on axis and legend labels to tell the story. Declare it outright. Rate of mortgage foreclosures for the month of December showing and increase in poor neighborhoods tells a much better story than Chart 1.

2. We make our audiences work way too hard

Often in presentations in report we put our data pages away from our insights. Put them together so your audience can easily make the correlations and understand the story. Don’t put charts at random parts of your presentation/report to ‘break things up’. Put them were they make sense.

3. Choose chart format like a t-shirt

Dona regaled us with a story of the time she was on a plane and watched as another passenger worked on a chart. They went through all the preset chart types in Excel before randomly picking the one that ‘looked the coolest’ – without consideration that the chart from should follow the data. Picking the right chart is not an act of whimsy, but a deliberate decision to be made.

Her approach is to look at the strengths of the various chart types and leverage them for your narrative.

  • Trending Data – Line charts quickly show trends with the slop of a line and quickly show discrete quan
  • Ranking Data – Horizontal bars work well for ranking data. Make sure you include titles.
  • Share of a Whole – A pie chart is only useful for representing data that’s part of a bigger whole.

4. Pie charts

Pie charts suck. People can easily tell length and width, but not area. It’s hard for use to look at a pie chart and determine if the slices are exactly equal or close. 25% looks a lot like 30%!

If you do use a pie chart, again only to show the share of a whole, use only 5 slices – no more! Dona jokes, If I told you that you could use maybe 6, then you’d use 7 – and then you’d use 7 and say maybe 8! No more than 5 slices and group any further percentages together as an ‘Other’ group.

5. Start vertical bars at zero

Because vertical bars (and horizontal for that matter as well) measure discrete quantities they should always start at zero. Starting at a different number will skew the perception of the differences in the values your bars are representing.

6. 3D

Don’t ever use it.

Think about your audience and be sure to give them the most clear picture of the data. A 3D bar chart showing performance raises will skew the interpretation of the data. Does the data at the top of the bar mark the increase – or at the top of the 3D effect? That’s a big difference when you’re talking about things that are important to your audience.

7. Color

Dona told us that colors should be treated like our in-laws. Admit colors into your charts cautiously – as you would in-laws visiting from out of town. If there is a pattern in your visualization, don’t break it up with colors just for the sake of it. Colors can be consigns, or send the wrong message.

She also highlighted the importance in making sure the colors in your visualizations are accessible. As many as 8 percent of men and 0.5 percent of women experience the common form of red-green color blindness. A quick check is to turn your chart info black and white. Can you still make out the differentiation?

Dona ended by providing three takeaways. Ask What, ask Why, and ask How.

What are you trying to do. It’s not just about data. Identify a message and make sure it gets across to your audience.

Why are you providing this visualization? To provide insights. Make connections and motivate your audience to action.

How do you choose your design? Don’t accept default settings. Don’t trust them. Pick the right chart form.

Following Dona’s advice will allow you to engage and connect with your audience and have influence. Making a chart is not a form of self-expression. It’s all about communication.

You should really check out Dona’s book, The Wall Street Journal Guide to Information Graphics.

After Dona’s presentation Daniel Murray got up to talk about “Big Data Visualization. Daniel is the Director of BI Services at InterWorks a global IT consulting firm based out of Oklahoma.

Dan spoke about how two of the three strengths of Big Data have already been solved (Volume and velocity) but that the third – variety – will be an important intersection in the future of business intelligence.

Providing systems and tools that allows for a variety of data to come together and make data more accessible to non-technical information consumers is the reality of the future. No organization has a single source of data.

The future data ecosystem, according to Dan, will have five steps.

  1. Capture Data
  2. Select field of interest
  3. Tools will create a self-generating schema with semi-auto ETL
  4. Then consumers can visualize the data however they see fit

The importance of data visualization comes into play when making data accessible to end users allowing for faster responses, less effort, and new insights. Dan claims that traditional tools are like a train on tracks to a specific destination. Emerging tools are all about new discoveries. People come out of the woodwork with self-service tools. They bring unique views you can’t get with the traditional BI stack.

The role of the IT folks will be coordinating effective data governance and ensuring that new data consumers understand the responsibility that comes along with the new found accessibility.

By having good, clearly communicated governance you can empower consumers and let them use their intimate operational knowledge to provide greater insights than what could be discovered before.

Dan ended his presentation with a few recommendations. First he suggested that data folks create a proof-of-concept that takes four weeks or less to test out these ideas. Take a few data sources, provide access to non-devs, and see what insights and visualizations emerge.

He also recommend three great books to read.

Conclusion

The presentations were top-notch, the location was perfect (and comfortable even with a packed house), and the snacks and refreshments were very well done. Best of all, the vendors were all smartly introduced and relevant to the discussions for the day. In all, a professional event. I hope other co-workers have an opportunity to attend one of the upcoming TDWI St. Louis events.

Molly Crabapple Works for No Man

“The first piece of advice I have for people if they want to be a crazy artist like me is that companies are there to exploit you, and to extract as much labor out of you as possible while paying you as little money as possible. Always treat companies with intense cynicism and try to exploit them back as much as you can. The big mistake that will fuck you over in life is being a team player, because you’ll waste years and years of your life until you wake up one day having made some company a lot of money and having made yourself shit. That’s what happened to my mom. She never made much money because she was one of those people who said, “I’m going to work hard and be talented, and then people will recognize my value and reward me!” No, actually, they will just take your hard work and talent to make money for themselves and discard you when you’re no longer useful. So be very cynical.”

There’s always been this weird dichotomy between business and art. Too often artists languish in obscurity or as a ‘secondary’ hobby.

I think artists who understand business, even just a little, are able to become successful artists. The business side is often to ‘square’ and over looked. Molly Crabapple gets it and remains a talented independent artist.

Bonus: The Great Discontent has some great interviews. You’d be hip to keep up with them.