Re: Web Charts

Also, perhaps, XProc - see

https://en.wikipedia.org/wiki/XML_pipeline

https://www.w3.org/TR/xproc/

On 5/10/2023 5:41 PM, Paul Tyson wrote:
> See d3js.org and d3-sparql.
> 
>> On May 10, 2023, at 16:25, Adam Sobieski <adamsobieski@hotmail.com> wrote:
>>
>> 
>> Semantic Web Interest Group,
>>
>> Hello. I’m not sure which other W3C mailing lists, if any, might also 
>> be interested in these ideas but, as they involve Semantic Web 
>> technologies, I'm writing here, today, to share some ideas pertaining 
>> to charts-related markup which could be utilized from HTML.
>>
>> Starting simply, we might consider that charts have: (1) data, (2) 
>> scripting logic with which to produce document structure from that 
>> data, and (3) a means of styling the produced document structure for 
>> presentation and display.
>>
>>
>> <chart version="1.0">
>>
>> <data type="application/rdf+xml" >...</data>
>>
>> <script type="text/javascript" src="..." />
>>
>> <style type="text/css" src="..." />
>>
>> </chart>
>>
>>
>> Next, we might consider that charts' data could be stored in remote 
>> resources.
>>
>>
>> <chart version="1.0">
>>
>> <data type="application/rdf+xml" src="..." />
>>
>> <script type="text/javascript" src="..." />
>>
>> <style type="text/css" src="..." />
>>
>> </chart>
>>
>>
>> Next, towards more advanced scenarios, we might consider that charts 
>> might, instead of having static data provided, obtain dynamic data by 
>> querying service endpoints, e.g., using SPARQL.
>>
>>
>> <chart version="1.0">
>>
>> <query endpoint="..." type="application/sparql-query">...</query>
>>
>> <script type="text/javascript" src="..." />
>>
>> <style type="text/css" src="..." />
>>
>> </chart>
>>
>> We might also consider specifying some attributes for these 
>> query-related elements which pertain to the refreshing of data, e.g., 
>> for indicating whether a chart was user-refreshable (per context 
>> menus), whether it refreshed on a timer, and/or any other behaviors 
>> pertaining to its input data.
>>
>>
>> Any thoughts on these preliminary ideas pertaining to "Web charts"? 
>> Are these initial ideas possible with existing technologies, e.g., Web 
>> Components?
>>
>>
>>
>> Best regards,
>>
>> Adam Sobieski
>>
>> http://www.phoster.com <http://www.phoster.com>
>>
>>
>> P.S.: I thought of these ideas while updating the /Wikianswers 
>> /project proposal: https://meta.wikimedia.org/wiki/Wikianswers 
>> <https://meta.wikimedia.org/wiki/Wikianswers> .
>>
>>

Received on Wednesday, 10 May 2023 22:05:36 UTC