Code Behind Desmos Calculators

If you right click on anything and click "Inspect Element" you can see the HTML behind the calculator. The beginning of the <body> section contains data about the user and the graph:

userId: Unique ID for the user

hash: The graph's 10-character base-36 ID, randomly given

parent_hash: The hash of the graph that it derives from

created: Date of creation

versionCreatedAt: Date of last modification

stateUrl: This URL contains JSON associated with the graph, it contains the graph settings and the expressions. (see Graph State JSON)

thumbUrl: Each graph has a thumbnail

type: Is either "my-graph" (saved graph), "my-graph-migrated-2025" (really old saved graph) or "quick-link" (example graph or a snapshot).

product: Calculator used, might be different from initialProduct because migration from graphing calculator to geometry is possible.

initialProduct: Calculator used initially

The graphing, geometry and 3D calculators use the same CSS and JS files (shared asset), this is why the page isn't reloaded entirely when you switch between them. They are used in some Desmos pages outside of the calculators as well.

Fun fact: The CSS file (/assets/build/shared_calculator_desktop-<some id>.css) is about 500 KB in size and the main JS file (/assets/build/shared_calculator_desktop-<some id>.js) is a whopping 4.5 MB in size.