Skip to main content

New Data Studio developer tools make building connectors and viz easier

Data Studio, Google’s data visualization platform, includes a developer features that expand the flexibility and functionality of your dashboards. Using Data Studio community connectors and community visualizations, you can connect to any internet-connected data source, and create custom visualizations tailored to your data and storytelling needs.

Recently, we created the Data Studio Community Component generator (dscc-gen), a command-line tool that streamlines building community connectors and community visualizations. dscc-gen provides working templates and opinionated workflows that make it quick and easy to create and deploy your projects.

Community Connectors tooling

Typically, developing a community connector means using the online Apps Scripts environment. The online editor is an excellent tool that can be used for all online tasks, but it doesn't support automating repetitive (and error-prone) tasks. By using a project generated from dscc-gen, updating a deployment becomes as easy as running npm run update_production and trying out your latest changes is just npm run open_latest.

To create a new community connector with dscc-gen, just run this command:

npx @google/dscc-gen connector

After the command finishes, you will have a working connector with a production deployment and best-practice deployment scripts. If you have an existing connector, you can still use dscc-gen to get the best-practice deployment scripts. See existing connectors for details.

For more information on commands that are available, see the local development developer documentation.  

Community Visualization tooling

Typically, developing a community visualization means editing local files, re-uploading the changes, and reloading a Data Studio report. This template provides a local development cycle and scripts that make bundling and deploying your code a breeze. By using a project generated by dscc-gen, deploying a visualization with caching enabled becomes as easy as running npm run build:prod && npm run push:prod.

To create a new community visualization with dscc-gen, just run this command:

npx @google/dscc-gen viz

After the command finishes, you will have a working visualization with a lightning-fast local workflow and best-practice build/deployment scripts.

For a rundown of how to best use this tool, visit the local development developer documentation.

Templates and use casesOur tooling supports the most common use-cases for connectors and visualizations. We’ve open sourced the library and code on GitHub, where you can make and request improvements.

Looking forward

We’re continually adding features to our developer platform. Community visualizations just added support for filter interactions, and connectors added many improvements throughout 2018. Sign up for updates on our the Data Studio developer ecosystem.

by via The Keyword

Comments

Popular posts from this blog

certain keys on my keyboard dont work when "cold"

Hi guys, i have a Lenovo Y520-15IKBN (80WK) and certain keys on the keyboard don't work (e,g,h,8,9,Fn...) but only when the weather is cold. for example in the winter it used to work after certain amount of time when i first boot the laptop and stops working when i stop using it for a while, but now that the weather is hot it works just fine except for the first couple of minutes or when its colder. of course i do realise that it has nothing to do with the outside weather but with the temperature of the computer itself. can someone explain to me why this is happening and how it should be fixed as i cannot take it to the tech service until july even though it's still under warranty because i need it for school. ps: an external keyboard works fine. Submitted April 29, 2018 at 03:35PM by AMmej https://ift.tt/2KiQg05

Old PC with a Foxconn n15235 motherboard needs drivers! Help!!

So my Pc corrupted and I had to fresh install windows on it, but now its missing 3 drivers and one of them is for the Ethernet controller! I've tried searching everywhere for the windows 7 drivers but all I seem to find are some dodgey programs saying they will install it for me. Problem is without the ethernet driver I can't bloody connect to the internet. I've been using a USB to try get some drivers on there, but they just end up being useless programmes . I'm also a bit of a noob at these things, I don't understand where to find the names of things in my PC, I've opened it up but I don't understand whats significant and what isnt. If someone has the drivers and can teach me how to install them I'd be very appreciative! Submitted April 29, 2018 at 02:47PM by darrilsteady https://ift.tt/2r76xMZ