Skip to content

Embed guide

How do you add a chart to Squarespace?

Short answerSquarespace distinguishes page Code Blocks from site-wide code injection and its CSS Editor. Investigate a permitted Code Block for a chart in one page, then test saving and the public response under the actual plan. We have not pasted and published this export on Squarespace, so its compatibility verdict remains unresolved.

Last reviewed · 2 sources cited

Your first export is free and branded; no paid plan is needed to try it.

Platform
Squarespace
Verdict
Not independently tested
Tested on
Not tested
Placement
Candidate: page Code Block; current plan and script/iframe permissions must be verified.

Which custom-code tool fits this job?

Squarespace’s official guide describes a Code Block as content placed in a specific location, the CSS Editor as site-wide styling, and code injection as a broader head/body mechanism. A chart in one article should not be installed indiscriminately across the entire site.

The guide notes that JavaScript/iframe capabilities depend on eligible plans. Check the current account and permissions rather than relying on an old plan name or assuming a paid site permits every script.

How should you test a Code Block?

Choose a safe page and an authorized editor. Keep a restorable version before adding custom markup, and separate the fragment intended for a page from a full standalone HTML document.

  1. Confirm current custom-code capabilities for the site’s plan and your role.
  2. Add a Code Block at the intended page location, using the appropriate HTML rendering mode rather than a display-source mode.
  3. Paste the reviewed fragment, save, then reopen to inspect any removed markup.
  4. Publish only an authorized test page and inspect both the public response and a signed-out browser view.
  5. Check exact data, source text, style isolation and mobile controls; record plan, template/version, URL and date.

What if styles or scripts are removed?

Direct HTML places the chart markup and table in the host document if the host preserves them. A separately hosted iframe is another document: displaying it does not put its child values in the parent response. If the editor strips or escapes content, restore readable values and sources in native page content rather than claiming the missing chart is still present.

Ask the site’s maintainer to choose an approved scope for code and styles. Do not inject all chart assets site-wide as a blind workaround. A fallback should retain a native caption and exact data even if the visual needs a separately hosted document.

What can this guide certify?

Not independently tested It certifies no Squarespace plan, theme or snippet behavior. Documentation review on 27 November 2026 is evidence for this proposed procedure, not a publish-test result.

No Squarespace subscription or custom-code service is bundled with a CrawlableCharts export. Hosting restrictions and maintenance remain separate decisions.

What does a real CrawlableCharts export look like?

This is the renderer output itself, not a screenshot. Its labels, values and source sit in the page HTML.

Public data · demoFull example: Depths of the 46 cataloged earthquakes

Depths of the 46 cataloged earthquakes

010203040Number of recordsDepth (km)0100200300400500600700
010203040Number of recordsDepth (km)0200400600
Data table & sources

Data table (46 records, 8 columns)

Depths of the 46 cataloged earthquakes: all 46 records
USGS event IDLocationMagnitudeDepth (km)Latitude (degrees)Longitude (degrees)Event time (UTC)Magnitude band
us7000tyek9 km E of Union, Philippines5.59.971 km9.7595 degrees126.2 degrees2026-11-15T13:41:35.701ZM5.5–5.9
us7000tycaFiji region5.5469.881 km-19.5554 degrees-177.8215 degrees2026-11-15T05:15:02.697ZM5.5–5.9
us7000ty84northern Mid-Atlantic Ridge5.510 km30.122 degrees-42.6346 degrees2026-11-14T09:26:13.073ZM5.5–5.9
us7000ty1a79 km WSW of Changuillo, Peru5.810 km-14.9934 degrees-75.8807 degrees2026-11-13T16:43:02.131ZM5.5–5.9
us7000txwp148 km NW of Kavieng, Papua New Guinea5.810 km-1.5882 degrees149.8877 degrees2026-11-12T22:04:06.729ZM5.5–5.9
us7000txb840 km S of Puerto San José, Guatemala5.559.652 km13.5622 degrees-90.8534 degrees2026-11-10T14:54:19.977ZM5.5–5.9
us7000tx1f106 km ENE of Hasaki, Japan5.724.173 km36.2471 degrees141.8299 degrees2026-11-09T04:52:51.519ZM5.5–5.9
us7000tx1630 km WSW of Lata, Solomon Islands6.417 km-10.8669 degrees165.5616 degrees2026-11-09T03:34:59.466ZM6.0–6.4
us7000twuncentral Mid-Atlantic Ridge5.810 km7.4618 degrees-36.8221 degrees2026-11-07T23:17:05.477ZM5.5–5.9
us7000twt08 km E of Shinshiro, Japan5.537.07 km34.8969 degrees137.5969 degrees2026-11-07T16:04:35.288ZM5.5–5.9
us7000twrq77 km NE of Hasaki, Japan5.528 km36.2184 degrees141.4515 degrees2026-11-07T11:07:42.734ZM5.5–5.9
us7000twg9144 km SE of Hasaki, Japan6.129 km34.9677 degrees142.1175 degrees2026-11-06T10:39:27.869ZM6.0–6.4
us7000tw8rFiji region6.1535 km-21.1984 degrees-178.7145 degrees2026-11-05T17:21:45.305ZM6.0–6.4
us7000tupl165 km NW of Port-Olry, Vanuatu610 km-14.1689 degrees165.8242 degrees2026-11-01T11:47:03.778ZM6.0–6.4
us7000tuku58 km SSE of Shima, Japan6352.449 km33.822 degrees136.9854 degrees2026-10-31T22:15:02.901ZM6.0–6.4
us7000tu4f43 km ESE of Port-Olry, Vanuatu6.2142.833 km-15.1891 degrees167.4523 degrees2026-10-29T21:46:44.786ZM6.0–6.4
us7000ttxzsoutheast of Easter Island6.410 km-36.4649 degrees-98.0105 degrees2026-10-29T07:49:50.096ZM6.0–6.4
us7000ttw582 km NE of Kiunga, Papua New Guinea5.710 km-5.6991 degrees141.9018 degrees2026-10-29T03:26:42.275ZM5.5–5.9
us7000ttw3110 km ENE of Barcelona, Philippines5.810 km8.3638 degrees127.4204 degrees2026-10-29T03:19:05.288ZM5.5–5.9
us7000ttua271 km WSW of Tual, Indonesia5.7142 km-6.3599 degrees130.4138 degrees2026-10-28T22:06:45.772ZM5.5–5.9
us7000ttpe2 km E of Yōkaichiba, Japan5.549.935 km35.701 degrees140.5751 degrees2026-10-28T15:07:53.185ZM5.5–5.9
us7000ttncReykjanes Ridge5.510 km58.1005 degrees-32.1508 degrees2026-10-28T11:37:49.980ZM5.5–5.9
us7000ttlt180 km NW of Port-Olry, Vanuatu5.610 km-14.0653 degrees165.7269 degrees2026-10-28T02:59:47.908ZM5.5–5.9
us7000ttlm208 km NW of Port-Olry, Vanuatu610 km-13.8296 degrees165.5942 degrees2026-10-28T02:21:44.755ZM6.0–6.4
us7000ttld218 km NW of Port-Olry, Vanuatu5.510 km-13.8601 degrees165.4489 degrees2026-10-28T01:39:10.604ZM5.5–5.9
us7000ttfb199 km NW of Port-Olry, Vanuatu5.811 km-13.9356 degrees165.6113 degrees2026-10-27T08:55:23.294ZM5.5–5.9
us6000u4yr283 km E of Levuka, Fiji5.5641.983 km-18.2557 degrees-178.0144 degrees2026-10-26T10:13:01.285ZM5.5–5.9
us6000u4ty214 km ENE of Nagqu, China5.97 km32.4675 degrees94.0105 degrees2026-10-25T11:25:57.039ZM5.5–5.9
us6000u4rf22 km ENE of Port-Olry, Vanuatu6.1116 km-14.9726 degrees167.2727 degrees2026-10-25T02:24:00.630ZM6.0–6.4
us7000tw0yBonin Islands, Japan region6472.952 km27.7325 degrees139.8079 degrees2026-10-25T02:09:44.027ZM6.0–6.4
us6000u4r9Bonin Islands, Japan region6.5475 km27.8093 degrees139.7102 degrees2026-10-25T02:09:22.321ZM6.5+
us6000u4mnBouvet Island region5.910 km-54.0337 degrees7.044 degrees2026-10-24T15:24:19.358ZM5.5–5.9
us6000u4lm193 km NW of Port-Olry, Vanuatu5.910 km-13.9649 degrees165.657 degrees2026-10-24T08:56:28.907ZM5.5–5.9
us6000u4kq52 km NNE of Port-Olry, Vanuatu5.5195.305 km-14.6223 degrees167.2962 degrees2026-10-24T06:43:09.665ZM5.5–5.9
us6000u4k6176 km NW of Port-Olry, Vanuatu5.810 km-14.0765 degrees165.7692 degrees2026-10-24T05:23:40.632ZM5.5–5.9
us6000u4jw206 km NW of Port-Olry, Vanuatu5.910 km-13.8244 degrees165.6167 degrees2026-10-24T04:12:04.978ZM5.5–5.9
us6000u4ju203 km NW of Port-Olry, Vanuatu5.710 km-13.9218 degrees165.5748 degrees2026-10-24T04:05:36.679ZM5.5–5.9
us6000u4jb163 km NW of Port-Olry, Vanuatu6.110 km-14.1107 degrees165.8938 degrees2026-10-24T02:35:57.344ZM6.0–6.4
us6000u4j2203 km NW of Port-Olry, Vanuatu6.816 km-13.9369 degrees165.5629 degrees2026-10-24T02:31:28.880ZM6.5+
us6000u4bk61 km WNW of Leni, Italy5.710 km38.7199 degrees14.152 degrees2026-10-23T10:19:16.729ZM5.5–5.9
us6000u43g189 km ENE of Nagqu, China718 km32.3376 degrees93.7837 degrees2026-10-22T14:33:40.289ZM6.5+
us6000u3jl202 km NW of Port-Olry, Vanuatu6.316 km-13.9347 degrees165.5746 degrees2026-10-20T04:20:38.782ZM6.0–6.4
us6000u3ge206 km NW of Port-Olry, Vanuatu5.510 km-13.981 degrees165.493 degrees2026-10-19T18:55:37.428ZM5.5–5.9
us6000u3ga197 km NW of Port-Olry, Vanuatu5.78 km-14.0187 degrees165.5726 degrees2026-10-19T18:52:36.088ZM5.5–5.9
us6000u3c6195 km NW of Port-Olry, Vanuatu5.510 km-13.9233 degrees165.6692 degrees2026-10-19T10:40:20.566ZM5.5–5.9
us6000u3bc184 km NW of Port-Olry, Vanuatu610 km-14.0203 degrees165.7158 degrees2026-10-19T07:49:04.693ZM6.0–6.4

About this graphic

Bin the source-reported depths, in kilometres, of all 46 M5.5+ events in the archived catalog. Counts describe this selected time window and magnitude threshold, not long-run seismic risk.

46 observations in 7 equal-width bins of 100.

Source & methods · USGS Earthquake Hazards Program
Source
USGS Earthquake Hazards Program
Period
Past-month feed captured 2026-11-16T20:52:03.000Z
Accessed
2026-11-16T20:59:28.380Z
Method
Filtered the complete feed of 679 M4.5+ events to type=earthquake and magnitude ≥5.5, retaining all 46 matching events. Coordinates and depth are unchanged; times are UTC. Gallery view: Bin the source-reported depths, in kilometres, of all 46 M5.5+ events in the archived catalog.
Limitations
Counts describe this selected time window and magnitude threshold, not long-run seismic risk. A dated, revisable catalog snapshot—not a live alert or complete record of all seismic activity. Magnitude is logarithmic; marker sizes must not be interpreted as energy. Location and magnitude estimates can change.
License
USGS U.S. government data. Natural Earth map geometry is public domain.
Source: USGS Earthquake Hazards Program · https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/4.5_month.geojson
Made with CrawlableCharts
Public sourceThe existing public-source depth histogram is a bounded captured-catalog example, not a Squarespace integration test or a current hazard report.Source: USGS Earthquake Hazards Program (opens in a new tab)

What do people ask about Squarespace?

Should I put the whole chart in site-wide code injection?

Not by default. A single page graphic belongs in a deliberately scoped placement; the official guide distinguishes Code Blocks, CSS and broader injection.

Do all Squarespace plans permit chart scripts?

Do not assume so. The official custom-code guide notes plan-dependent JavaScript and iframe capabilities. Confirm the current account terms.

Was a Code Block published for this review?

No live Squarespace test was performed. Check your plan’s custom-code permissions and test a page before publishing.

Can an iframe provide all the data in the parent response?

The child document is separate. Keep essential values and source context in native page content if the direct chart HTML is not preserved.

Which sources support this page?

  1. Squarespace official custom-code guide (opens in a new tab)

    Observed

    Distinguishes Code Blocks, CSS Editor and code injection; script/iframe capabilities depend on the current plan.

  2. CrawlableCharts pricing and license terms

    Observed

    Current export credits, subscriptions and licensing terms.

Readable HTML helps crawlers and readers understand a page. Nobody can guarantee indexing, rankings or citations, and we do not promise them. Your host may strip or rewrite exported HTML, so check what survives on your own pages.

Where should you go next?

    CrawlableCharts is loading…

    If this takes longer than expected, reload this page.