A HTML element obtained with document.getElementById or similar.
The canvas will occupy the whole container.
The following CSS properties are added if necessary:
display - default: blockmax-width — default: 400pxwidth — default: 65vwmax-height — default: 400pxheight — default: 65vw (yes, vw not vh)padding-top — default: 5pxpadding-bottom — default: 5pxposition — default: relativeposition: absolute so the graphics container must have
position: relative if you want to draw the axes labels.