Question: This is from the exercise of Chapter 3 : Small multiples are such an elegant solution to so many graphing problems. Find a graph you
This is from the exercise of Chapter :
Small multiples are such an elegant solution to so many graphing problems. Find a graph you think is overly complicated check your other textbooks for this course or search on #dataviz on Twitter and scroll through the results See if you can remake the complicated visual using small multiples.
These Excel ninja graphs make you feel good, but they can also leave you feeling a bit daunted by the idea of churning them out at scale. Three possible solutions that I want you to try:
Save the finished graph as a new chart type. Just rightclick on the graph, and you should see a menu option called Save as Template. It opens some magical place on your computerdont move from that spot. Just name your new chart type and save. Then youll see a new area in your regular menu of chart choices called Templates. This process will get you to of the way there, depending on the graph type. Youll still have to do some adjusting, but it gives you a head start in your graph development. Try making a template for a slope graph.
More advanced users should try recording a macro. Sounds intimidating, but it isnt that scary once you get started. Macros are accessible through a new tab you have to tell Excel to add to your toolbar. Follow File to Options and then look in the Customize Ribbon menu. From there you can add the Developer tab to your ribbon. In it youll see a button called Record Macro. Essentially, this records your movements around the spreadsheet and writes code based on those movements. So you begin recording the macro name it after your graph type then make your ninja graph, and then press Stop Recording. In the future, youll simply go to the Macros menu and play your recorded steps. Try recording a macro for one of the graphs in this chapter. Be patient. It takes some trial and error. Skip ahead to Chapter for more details on macros for slope graphs and dot plots.
When you recorded your macro, the code Excel wrote in the background is a powerful, if intimidating, way to generate copies of graphs with speed. In Excelspeak, this is called Visual Basic for Applications, or VBA, code, and people have written dozens of coding instructions to make Excel do all sorts of cartwheels and tricks. Conduct a quick Internet search on VBA code to copy graphs with new data. Youll see several options that you can dump into a new Visual Basic window right next to the Macros button Again, code can be complex to work with, so allow yourself a lot of time and coffee.
Submit any required documentation.
A few points of clarification:
Q You are creating a template a screen graph of that would suffice.
Q You can view the stepscode generated in creating a Macro that is what you submit here is a quick tutorial on doing that:
Record and Edit a Macro
You can record macros to automate the following types of actions: Sending data to or typing text in a host application Cutting, copying, or pasting text or data from one host application to another Switching tabs to move from
QUpload the VBA code that you found to work and some screengrabs showing how you tested it
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
