it is reductive to view at dataframe as an html table. a table representation is the most minimal data visualization of a dataframe. and, as a visualization, context is critical.
# a semantic dataframe
it is reductive to view at dataframe as an html `table`. a table representation is the most minimal data visualization of a dataframe. and, as a visualization, context is critical.
my hypothesis is that a dataframe is really a `figure`. we are going attempt to treat the dataframe as `table` inside a `figure`.
it is reductive to view at dataframe as an html
table
. a table representation is the most minimal data visualization of a dataframe. and, as a visualization, context is critical.
my hypothesis is that a dataframe is really a
figure
. we are going attempt to treat the dataframe as
table
inside a
figure
.
we have another caption for the table and context specific caption. the caption includes `details` and `summary` about the dataframe. currently, `pandas` provides the shape of the dataframe which could be a good place to start with the content in the `summary`
1
we have another caption for the table and context specific caption. the caption includes
details
and
summary
about the dataframe. currently,
pandas
provides the shape of the dataframe which could be a good place to start with the content in the
summary
## extending this to mermaid
in theory a diagram/graph is two dataframes. so we could default to showing a node table and edge table.
since we have mermaid we can do better. we'll need to replace the `table` part of the `figure` with a `svg` or `image` created by mermaid. both `svg` and `image` have natural accessibility affordances that should be used.
in theory a diagram/graph is two dataframes. so we could default to showing a node table and edge table.
since we have mermaid we can do better. we'll need to replace the
table
part of the
figure
with a
svg
or
image
created by mermaid. both
svg
and
image
have natural accessibility affordances that should be used.
we use the `figcaption` to share extra metadata about the graph and its properties. we could include nodes, edges, cycles, subgraphs, lots of things; some might be possible to get from mermaid.
1
we use the
figcaption
to share extra metadata about the graph and its properties. we could include nodes, edges, cycles, subgraphs, lots of things; some might be possible to get from mermaid.