On your site
Add a visualization to a page
Section titled “Add a visualization to a page”
Three ways:
- From the visualization: in Show it on your site → Add it to a page, choose the page (or a new draft one) and click Add it.
- With the block: in the page editor, add the Red Jaguar Hagamos Data block and choose the visualization or infographic. People who use Hagamos Data see it drawn in the editor, as it will look when published. Other people who edit pages, such as those with the Author role, see its name and can only choose the ones that are already public (see Privacy).
- With the shortcode:
[hagamosdata id="37"]for a visualization and[hagamosdata_infografia id="2"]for an infographic, in a Shortcode block. Each one shows its code in its editor and on the project’s page.
In Elementor, use the Red Jaguar Hagamos Data widget and choose the visualization or infographic.
A page by question
Section titled “A page by question”
In the project, To publish it → On a page → Create a page: by question, with an index makes a draft page with:
- an index at the top, that goes to each section and stays in view as you scroll;
- the table’s filters;
- a section per question (“The figures”, “How has it changed?”, “Where does it happen?”, “How do they compare?”, “How is it split?”…) with its visualizations.
Change the texts, the order and anything you want before publishing it. It is a normal WordPress page.
Filters
Section titled “Filters”Filters let visitors see one year, one country or one kind. Every chart of that table on the page changes at once, and each one says which filter it has. The ones that do not change say so.
- Choose the columns in the table, in Filters for the public.
- Put them on the page with Create a page (by question) or with
[hagamosdata_filtros tabla="3"].
Colors do not change when filtering: each value keeps its own.
Index and dark mode
Section titled “Index and dark mode”[hagamosdata_indice]: the page’s index, with a link to each heading.[hagamosdata_modo]: the dark mode button where you want it. Turn it on in Style.
What visitors see
Section titled “What visitors see”Under each visualization, depending on what you chose in its editor:
- See the data: the numbers of the chart in a table, also for screen readers.
- Download image: for the web (as on the page), square post (1080 × 1080), vertical post (1080 × 1350) or story (1080 × 1920), with title, source and date.
- Download the data (CSV): only the numbers of the chart.
- Share: share the image from the phone, WhatsApp, X, Facebook, LinkedIn, Bluesky, Telegram and copy link. They are plain links: nothing from the networks loads on your page. The link goes to that chart, with the filters it had.
In another site
Section titled “In another site”To show a visualization or an infographic in another site (an allied organization’s, for example):
- In its editor, open Show it in another site and tick Allow other sites to show it. It is off by default: only what you allow can be seen from outside.
- Save, then paste the code in the other site, in an HTML block. It adjusts its height by itself, and the numbers still come from your site.