V is for Vega and Visualizations
The Vega logo: PC, Wikipedia (Vega-Lite is also part of the Vega language)

V is for Vega and Visualizations

I often get asked which tool or language I would recommend for creating data visualizations. Like many responses in the world of technology (and perhaps the world in general as well), the answer is almost always "It depends." That's not to say that I don't have preferences, but my choice often depends on factors outside my control, like where the organization already stores its data, the existing IT infrastructure, and time constraints.

The graphic below shows a few of them and their relationships to one another within an application like Power BI. I've said it before, and I'll say it again because Excel is a great ad hoc tool for so many projects. If you're trying to create visuals for data that's already in an Excel file (or CSV file for that matter), the data visualization capabilities of Excel continue to impress me!

No alt text provided for this image
Data visualization options

At first, it can seem confusing about what to use. I recently published the visual above as a graphic with a LinkedIn post. It turns out it's a post I should have done much earlier!

Deneb Visual in Power BI

The Deneb visual sits in the center of the above diagram in the space between the no-code options on the left and the options that require coding on the right. In a recent video in my Power BI Weekly series course in the LinkedIn Learning library, I walk through how to configure the Deneb visual within Power BI Desktop.

No alt text provided for this image
https://www.dhirubhai.net/learning/power-bi-weekly/deneb-visual

Once we set up the Deneb visual, we can choose a visual to have it automatically write the code for us. We can then edit it for the visual configuration as well as the formatting (colors, font size, and so on). The Deneb visual is also a custom visual, so we need to import it first from the Power BI AppSource store into Power BI Desktop (the good news is that it's a free download).

Vega and Vega-Lite Languages

Behind the Deneb visual, there's an entire language called Vega. There's also a simpler version of the language called Vega-Lite. The great thing about the Deneb visual in Power BI though is that we can create a visual without writing a single line of code. Knowing these languages though becomes helpful when we want to create custom visuals or edit the formatting to exactly suit our visual requirements.

  • There's a bit of documentation to explore on the Deneb visual in Power BI .
  • I also found the Wikipedia overview of the Vega language fascinating.
  • I went to the University of Washington, and I didn't realize they developed the language until I recently looked this up! They have documentation on both the Vega language and the Vega-Lite language.
  • For more documentation on the Deneb visual in Power BI, also check out templates on GitHub from PowerBI.Tips.

Coming Up

That's it for this week. Merry Christmas to everyone celebrating tomorrow (and today for some of you already)!

-HW

Daran Davis

Senior Design Infrastructure Engineer at Intel Corporation

1 年

Will you cover the interactive features in Vega?

回复
CHESTER SWANSON SR.

Next Trend Realty LLC./wwwHar.com/Chester-Swanson/agent_cbswan

1 年

Well Said.

要查看或添加评论,请登录

Helen Wall的更多文章

  • Releasing Snakes into the Wild

    Releasing Snakes into the Wild

    This week brings big news in both the Excel and Python communities! Python in Excel is now generally available as of…

    4 条评论
  • Slithering Back In

    Slithering Back In

    I'm finally catching up on the latest editions of my newsletter after a bit of a break. Writing newsletters or any kind…

    2 条评论
  • The Modern Updates

    The Modern Updates

    As I was perusing potential updates for my home recently, I started to think about how the definition of "modern" will…

  • WINDOWs of the World

    WINDOWs of the World

    It's really hard to get very far in data science without knowing SQL. Within SQL there are different levels of…

    3 条评论
  • Straightening Things Out

    Straightening Things Out

    When I took linear algebra in college, my favorite part of the class was the end of it. The course was highly…

    2 条评论
  • SWITCH It Up

    SWITCH It Up

    In order to master managing data models, learning how to leverage conditional logic is a must. We see conditional logic…

    3 条评论
  • Seeing Dots

    Seeing Dots

    I use data visualizations not only to communicate data models to end-users who are stakeholders, but I also personally…

    5 条评论
  • The Digital Rolodex

    The Digital Rolodex

    A few months ago, I was doing my civic duty as part of a potential jury panel. While we were waiting for the court to…

    4 条评论
  • Making the "Old" New

    Making the "Old" New

    I talk with a lot of people about whether their organization uses custom visuals in Power BI. Their answers often vary…

    4 条评论
  • Patching Holes

    Patching Holes

    While I would love to live in a world where all data is perfect, I know that’s not reality. And not even close to…

    5 条评论

社区洞察